Переглянути джерело

tests/sched_policies/data_locality.c: make the cost function return 1.0 instead of 0.0.

The point of this cost function is to prevent the scheduler from using a greedy
approach. If must therefore return a value __strictly__ greater than 0.
Cyril Roelandt 12 роки тому
батько
коміт
36ac88ec74
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      tests/sched_policies/data_locality.c

+ 1 - 1
tests/sched_policies/data_locality.c

@@ -29,7 +29,7 @@ cost_function(struct starpu_task *task, unsigned nimpl)
 {
 	(void) task;
 	(void) nimpl;
-	return 0.0;
+	return 1.0;
 }
 
 static struct starpu_perfmodel model =