Selaa lähdekoodia

backport 7329 from trunk 'tests/sched_policies/data_locality.c: add message on error'

Nathalie Furmento 13 vuotta sitten
vanhempi
commit
9e98cefe11
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      tests/sched_policies/data_locality.c

+ 1 - 0
tests/sched_policies/data_locality.c

@@ -122,6 +122,7 @@ run(struct starpu_sched_policy *policy)
 	{
 		if (tasks[i]->profiling_info->workerid != workerid)
 		{
+			FPRINTF(stderr, "Error for task %d. Worker id %u different from expected worker id %u\n", i, tasks[i]->profiling_info->workerid, workerid);
 			ret = 1;
 			break;
 		}