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
[ROCm/clr commit: 3623f0d69e]
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user