|
@@ -74,6 +74,8 @@ static int push_task_eager_policy(struct starpu_task *task)
|
|
|
starpu_push_task_end(task);
|
|
|
STARPU_PTHREAD_MUTEX_UNLOCK(&data->policy_mutex);
|
|
|
|
|
|
+#ifndef STARPU_NON_BLOCKING_DRIVERS
|
|
|
+
|
|
|
/*if there are no tasks block */
|
|
|
/* wake people waiting for a task */
|
|
|
unsigned worker = 0;
|
|
@@ -93,7 +95,7 @@ static int push_task_eager_policy(struct starpu_task *task)
|
|
|
if (starpu_wakeup_worker(worker, sched_cond, sched_mutex))
|
|
|
break; // wake up a single worker
|
|
|
}
|
|
|
-
|
|
|
+#endif
|
|
|
return ret_val;
|
|
|
}
|
|
|
|