Samuel Thibault hace 12 años
padre
commit
11266adce9
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/sched_policies/node_prio.c

+ 4 - 0
src/sched_policies/node_prio.c

@@ -118,9 +118,13 @@ static int prio_push_task(struct starpu_sched_node * node, struct starpu_task *
 	
 	STARPU_ASSERT(node->nchilds == 1);
 	struct starpu_sched_node * child = node->childs[0];
+
 	if(starpu_sched_node_is_worker(child))
 		ret = 1;
 	else
+		/* TODO: no, don't try to push it immediately to the child.
+		 * Just push it to the queue, pop one task from the queue and
+		 * try to push that task to the child. */
 		ret = child->push_task(child,task);
 
 	if(ret)