P4 to Git Change 1133833 by weizhang@weizhang-lnx-opencl-tmp on 2015/03/24 12:09:34

EPR #410989 - [Project Brahma] -  Report GPU devices as 1.2 until 2.0 is supported on Brahma stack.

	      1. Remove BRAHMA related definition from opencldefs since they are not needed.
	      2. Add the definition BRAHMA to runtimedefs since brahma stack is only for runtime/gpu
	      3. Report GPU devices as 1.2 until 2.0 is supported on Brahma stack.

Affected files ...

... //depot/stg/opencl/drivers/opencl/opencldefs#157 edit
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#227 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/macros.hpp#6 edit
이 커밋은 다음에 포함됨:
foreman가 2015-03-24 12:21:20 -04:00를 커밋했습니다
1 부모 20974393b1
커밋 51f3eeb8f2
2 파일이 변경됨
+7 -1

검색과 일치하는 파일 없음

+1 -1
파일 보기
@@ -158,7 +158,7 @@ release(bool, GPU_ENABLE_LARGE_ALLOCATION, false, \
"Enable >4GB single allocations") \
release(bool, AMD_THREAD_TRACE_ENABLE, !IS_MAINLINE, \
"Enable thread trace extension") \
release(uint, OPENCL_VERSION, 200, \
release(uint, OPENCL_VERSION, (IS_BRAHMA ? 120 : 200), \
"Force GPU opencl verison") \
release(uint, CPU_OPENCL_VERSION, 120, \
"Force CPU opencl verison") \
+6
파일 보기
@@ -166,6 +166,12 @@
# define ALWAYSINLINE
#endif // !_MSC_VER
#ifdef BRAHMA
# define IS_BRAHMA true
#else
# define IS_BRAHMA false
#endif
//! \endcond
#endif // MACROS_HPP_