Sfoglia il codice sorgente

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

Simon Archipoff 12 anni fa
parent
commit
399f5fffe6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;
 			}