diff --git a/opencl/CMakeLists.txt b/opencl/CMakeLists.txt index 98284529e3..a679c4f2f3 100644 --- a/opencl/CMakeLists.txt +++ b/opencl/CMakeLists.txt @@ -43,6 +43,7 @@ add_subdirectory(compiler/driver) set(BUILD_HC_LIB CACHE BOOL OFF) set(ROCM_DEVICELIB_INCLUDE_TESTS CACHE BOOL OFF) set(AMDGCN_TARGETS_LIB_LIST "AMDGCN_LIB_TARGETS") +set(AMDGPU_TARGET_TRIPLE "amdgcn-amd-amdhsa-opencl") add_subdirectory(library/amdgcn) add_subdirectory(compiler/lib/loaders/elf/utils/libelf) diff --git a/opencl/api/opencl/amdocl/CMakeLists.txt b/opencl/api/opencl/amdocl/CMakeLists.txt index 2f72a2f48a..5dc525a6b4 100644 --- a/opencl/api/opencl/amdocl/CMakeLists.txt +++ b/opencl/api/opencl/amdocl/CMakeLists.txt @@ -42,6 +42,7 @@ add_library(amdocl64 SHARED cl_d3d11.cpp cl_context.cpp cl_profile_amd.cpp + cl_p2p_amd.cpp $ $ )