瀏覽代碼

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

Simon Archipoff 12 年之前
父節點
當前提交
399f5fffe6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
 			}