P4 to Git Change 1413623 by lmoriche@lmoriche_palamida on 2017/05/24 11:41:52

SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Set the default triple to amdgcn-amd-amdhsa-opencl

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#9 edit
This commit is contained in:
foreman
2017-05-24 11:49:07 -04:00
parent 842f311464
commit 80b3356ed6
+1
View File
@@ -39,6 +39,7 @@ include_directories(${CMAKE_BINARY_DIR}/compiler/llvm/lib/Target/AMDGPU)
add_subdirectory(compiler/driver)
set(AMDGPU_TARGET_TRIPLE "amdgcn-amd-amdhsa-opencl")
set(BUILD_HC_LIB CACHE BOOL OFF)
set(ROCM_DEVICELIB_INCLUDE_TESTS CACHE BOOL OFF)
add_subdirectory(library/amdgcn)