Explorar o código

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

Samuel Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
439230f926
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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