소스 검색

src/core/perfmodel/perfmodel_bus.c: revert last commit #6099, OpenCL CPU devices should not be skipped

Nathalie Furmento 13 년 전
부모
커밋
478f55762e
1개의 변경된 파일0개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 6
      src/core/perfmodel/perfmodel_bus.c

+ 0 - 6
src/core/perfmodel/perfmodel_bus.c

@@ -541,12 +541,6 @@ static void benchmark_all_gpu_devices(void)
         nopencl = _starpu_opencl_get_device_count();
 	for (i = 0; i < nopencl; i++)
 	{
-		if (_starpu_opencl_get_device_type(i) == CL_DEVICE_TYPE_CPU)
-		{
-			_STARPU_DEBUG("Skipping OpenCL #%d : it is a CPU.\n", i);
-			continue;
-		}
-
 		fprintf(stderr," OpenCL %d...", i);
 		/* measure bandwith between Host and Device i */
 		measure_bandwidth_between_host_and_dev(i, opencldev_timing_htod, opencldev_timing_dtoh, opencldev_timing_per_cpu, 'O');