소스 검색

When refusing a task, note that prefetching was moot

Samuel Thibault 8 년 전
부모
커밋
b5f48767d2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/core/workers.c

+ 1 - 0
src/core/workers.c

@@ -2362,6 +2362,7 @@ void _starpu_worker_refuse_task(struct _starpu_worker *worker, struct starpu_tas
 		_starpu_set_current_task(NULL);
 	}
 	worker->ntasks--;
+	task->prefetched = 0;
 	int res = _starpu_push_task_to_workers(task);
 	STARPU_ASSERT_MSG(res == 0, "_starpu_push_task_to_workers() unexpectedly returned = %d\n", res);
 }