Explorar o código

bug fix that affect heft performances, task->predicted was removed two times

Simon Archipoff %!s(int64=12) %!d(string=hai) anos
pai
achega
399f5fffe6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/sched_policies/node_worker.c

+ 1 - 1
src/sched_policies/node_worker.c

@@ -223,7 +223,7 @@ static inline struct starpu_task * _starpu_worker_task_list_pop(struct _starpu_w
 			l->ntasks--;
 			if(!isnan(task->predicted))
 			{
-				l->exp_len -= task->predicted;
+				l->exp_len -= task->predicted_transfer;
 				l->exp_end = l->exp_start + l->exp_len;
 			}