Browse Source

Fix lws task queuing for proper locality

Samuel Thibault 6 years ago
parent
commit
f3392bbae9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sched_policies/work_stealing_policy.c

+ 1 - 1
src/sched_policies/work_stealing_policy.c

@@ -655,7 +655,7 @@ int ws_push_task(struct starpu_task *task)
 	starpu_sched_task_break(task);
 	record_data_locality(task, workerid);
 	STARPU_ASSERT_MSG(ws->per_worker[workerid].running, "workerid=%d, ws=%p\n", workerid, ws);
-	_starpu_prio_deque_push_front_task(&ws->per_worker[workerid].queue, task);
+	_starpu_prio_deque_push_back_task(&ws->per_worker[workerid].queue, task);
 	locality_pushed_task(ws, task, workerid, sched_ctx_id);
 
 	starpu_push_task_end(task);