浏览代码

Fix compilation

Cédric Augonnet 14 年之前
父节点
当前提交
3cb3f1a39a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/sched_policies/random_policy.c

+ 1 - 1
src/sched_policies/random_policy.c

@@ -108,7 +108,7 @@ struct starpu_sched_policy_s _starpu_sched_random_policy = {
 	.push_task = random_push_task,
 	.push_task = random_push_task,
 	.push_prio_task = random_push_prio_task,
 	.push_prio_task = random_push_prio_task,
 	.pop_task = random_pop_task,
 	.pop_task = random_pop_task,
-	.pop_exec_hook = NULL,
+	.post_exec_hook = NULL,
 	.pop_every_task = NULL,
 	.pop_every_task = NULL,
 	.policy_name = "random",
 	.policy_name = "random",
 	.policy_description = "weighted random"
 	.policy_description = "weighted random"