P4 to Git Change 1410629 by lmoriche@lmoriche_palamida on 2017/05/17 11:27:06
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment - Add FindROCR.cmake, and use find_package() to locate the ROCR Affected files ... ... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#8 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#5 edit ... //depot/stg/opencl/drivers/opencl/cmake/modules/FindROCR.cmake#1 add ... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#3 edit
This commit is contained in:
@@ -2,7 +2,7 @@ set(CMAKE_CXX_FLAGS "-std=c++11")
|
||||
|
||||
add_definitions(-DLINUX -D__x86_64__ -D__AMD64__ -DUNIX_OS -DqLittleEndian -DOPENCL_MAJOR=2 -DOPENCL_MINOR=0 -DWITH_AQL -DWITH_ONLINE_COMPILER -DATI_OS_LINUX -DATI_ARCH_X86 -DLITTLEENDIAN_CPU -DATI_BITS_64 -DATI_COMP_GCC -DWITH_HSA_DEVICE -DWITH_TARGET_AMDGCN -DOPENCL_EXPORTS -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DVEGA10_ONLY=false -DWITH_LIGHTNING_COMPILER)
|
||||
|
||||
include_directories(/opt/rocm/include/hsa)
|
||||
include_directories(${ROCR_INCLUDE_DIRS})
|
||||
|
||||
include_directories(${CMAKE_SOURCE_DIR}/runtime)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/api/opencl)
|
||||
|
||||
مرجع در شماره جدید
Block a user