소스 검색

- avoid dumping tons of source code when debugging real application, unless the user really wants it

Olivier Aumage 9 년 전
부모
커밋
48563de46a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/drivers/opencl/driver_opencl_utils.c

+ 2 - 0
src/drivers/opencl/driver_opencl_utils.c

@@ -169,7 +169,9 @@ char *_starpu_opencl_load_program_source(const char *filename)
 	}
 	}
 	source[x] = '\0';
 	source[x] = '\0';
 
 
+#ifdef STARPU_EXTRA_VERBOSE
 	_STARPU_DEBUG("OpenCL kernel <%s>\n", source);
 	_STARPU_DEBUG("OpenCL kernel <%s>\n", source);
+#endif
 
 
 	fclose(fh);
 	fclose(fh);