소스 검색

Do scheduling when waiting for a task, to fix hang with graph_test scheduler

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

+ 1 - 0
src/core/task.c

@@ -233,6 +233,7 @@ int starpu_task_wait(struct starpu_task *task)
 
 	_STARPU_TRACE_TASK_WAIT_START(j);
 
+	starpu_do_schedule();
 	_starpu_wait_job(j);
 
 	/* as this is a synchronous task, the liberation of the job