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
Dieser Commit ist enthalten in:
foreman
2015-03-24 12:21:20 -04:00
Ursprung 20974393b1
Commit 51f3eeb8f2
2 geänderte Dateien mit 7 neuen und 1 gelöschten Zeilen
+1 -1
Datei anzeigen
@@ -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
Datei anzeigen
@@ -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_