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
Этот коммит содержится в:
foreman
2017-05-24 11:49:07 -04:00
родитель 5e85545c43
Коммит 3623f0d69e
+1
Просмотреть файл
@@ -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)