Ver código fonte

also do schedule when waiting for a synchronous task

Samuel Thibault 9 anos atrás
pai
commit
b8764d19dc
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      src/core/task.c

+ 1 - 0
src/core/task.c

@@ -686,6 +686,7 @@ int starpu_task_submit(struct starpu_task *task)
 
 	if (is_sync)
 	{
+		_starpu_sched_do_schedule(task->sched_ctx);
 		_starpu_wait_job(j);
 		if (task->destroy)
 		     _starpu_task_destroy(task);