Explorar o código

Put back comment...

Samuel Thibault %!s(int64=11) %!d(string=hai) anos
pai
achega
905efa2ed1
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      src/core/sched_policy.c

+ 6 - 0
src/core/sched_policy.c

@@ -788,6 +788,12 @@ pick:
 	if (task->mf_skip)
 	if (task->mf_skip)
 		goto profiling;
 		goto profiling;
 
 
+	/*
+	 * This worker may not be able to execute this task. In this case, we
+	 * should return the task anyway. It will be pushed back almost immediatly.
+	 * This way, we avoid computing and executing the conversions tasks.
+	 * Here, we do not care about what implementation is used.
+	 */
 	worker_id = starpu_worker_get_id();
 	worker_id = starpu_worker_get_id();
 	if (!starpu_worker_can_execute_task(worker_id, task, 0))
 	if (!starpu_worker_can_execute_task(worker_id, task, 0))
 		return task;
 		return task;