소스 검색

i think we do not need NULL in the list of defines scheduling policies (pls rollback if it's not true)

Andra Hugo 13 년 전
부모
커밋
a0f8810900
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/core/sched_policy.c

+ 1 - 2
src/core/sched_policy.c

@@ -44,8 +44,7 @@ static struct starpu_sched_policy *predefined_policies[] =
 	&_starpu_sched_dmda_ready_policy,
 	&_starpu_sched_dmda_sorted_policy,
 	&_starpu_sched_parallel_heft_policy,
-	&_starpu_sched_peager_policy,
-	NULL
+	&_starpu_sched_peager_policy
 };
 
 struct starpu_sched_policy **starpu_sched_get_predefined_policies()