소스 검색

Show name of arch for which energy measurement could not be done

Samuel Thibault 4 년 전
부모
커밋
ff6f86246c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/perfmodels/regression_based_memset.c

+ 1 - 1
tests/perfmodels/regression_based_memset.c

@@ -213,7 +213,7 @@ static int bench_energy(int workerid, int where, enum starpu_worker_archtype arc
 		if ( (retval = starpu_energy_start(workerid, archtype)) != 0)
 		if ( (retval = starpu_energy_start(workerid, archtype)) != 0)
 		{
 		{
 			starpu_data_unregister(handle);
 			starpu_data_unregister(handle);
-			_STARPU_DISP("Energy measurement not supported for archtype %d\n", archtype);
+			_STARPU_DISP("Energy measurement not supported for archtype %s\n", starpu_perfmodel_get_archtype_name(archtype));
 			return -1;
 			return -1;
 		}
 		}