浏览代码

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

Nathalie Furmento 13 年之前
父节点
当前提交
9e98cefe11
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;
 		}