소스 검색

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;
 		}