Explorar o código

deque_modeling_policy_data_aware.c : the second argument of _starpu_fifo_pop_task() could no longer be -1.

Cyril Roelandt %!s(int64=13) %!d(string=hai) anos
pai
achega
393f59058f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/sched_policies/deque_modeling_policy_data_aware.c

+ 1 - 1
src/sched_policies/deque_modeling_policy_data_aware.c

@@ -153,7 +153,7 @@ static struct starpu_task *dmda_pop_task(void)
 	int workerid = starpu_worker_get_id();
 	struct _starpu_fifo_taskq *fifo = queue_array[workerid];
 
-	task = _starpu_fifo_pop_task(fifo, -1);
+	task = _starpu_fifo_pop_task(fifo, workerid);
 	if (task) {
 		double model = task->predicted;