Parcourir la source

Nathalie m'a voler

PAW il y a 7 ans
Parent
commit
0b0b5307d8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/sched_policies/component_heft.c

+ 1 - 1
src/sched_policies/component_heft.c

@@ -108,7 +108,7 @@ static int heft_progress_one(struct starpu_sched_component *component)
 		double max_benefit =  max_exp_end_with_task[0] - min_exp_end_with_task[0];
 
 		/* Find the task which provides the most computation time benefit */
-		for (n = 0; n < ntasks; n++)
+		for (n = 1; n < ntasks; n++)
 		{
 			double benefit = max_exp_end_with_task[n] - min_exp_end_with_task[n];
 			if (max_benefit < benefit)