Browse Source

dm*: dmda_pop_ready_task(): avoid a useless call to starpu_worker_get_memory_node().

Cyril Roelandt 12 years ago
parent
commit
3a3cb4bdfc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sched_policies/deque_modeling_policy_data_aware.c

+ 1 - 1
src/sched_policies/deque_modeling_policy_data_aware.c

@@ -142,7 +142,7 @@ static struct starpu_task *dmda_pop_ready_task(void)
 #ifdef STARPU_VERBOSE
 		if (task->cl)
 		{
-			int non_ready = count_non_ready_buffers(task, starpu_worker_get_memory_node(workerid));
+			int non_ready = count_non_ready_buffers(task, node);
 			if (non_ready == 0)
 				ready_task_cnt++;
 		}