From 80b3356ed6178af622278d4bf11405e399cc5af3 Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 24 May 2017 11:49:07 -0400 Subject: [PATCH] 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 --- opencl/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/opencl/CMakeLists.txt b/opencl/CMakeLists.txt index 416cf0da8c..0ce1bdb798 100644 --- a/opencl/CMakeLists.txt +++ b/opencl/CMakeLists.txt @@ -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)