소스 검색

fix build

Samuel Thibault 5 년 전
부모
커밋
3f4d231fd6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/sched_policies/heteroprio.c

+ 1 - 1
src/sched_policies/heteroprio.c

@@ -625,7 +625,7 @@ done:		;
 		     task_to_prefetch  = starpu_task_prio_list_next(&worker->tasks_queue.list, task_to_prefetch))
 		{
 			/* prefetch from closest to end task */
-			if (!task_to_prefetch->prefetch) /* FIXME: it seems we are prefetching several times?? *
+			if (!task_to_prefetch->prefetched) /* FIXME: it seems we are prefetching several times?? */
 				starpu_prefetch_task_input_for(task_to_prefetch, workerid);
 			nb_added_tasks -= 1;
 		}