P4 to Git Change 1477431 by kzhuravl@kzhuravl-fiji-ocllc on 2017/11/01 12:56:46
SWDEV-102733 - Update cmake for CL 1455364
Testing: open source build, also here http://git.amd.com:8080/#/c/113674/
Affected files ...
... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#7 edit
[ROCm/clr commit: 6293fd1825]
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -53,7 +53,7 @@ add_subdirectory(runtime)
|
||||
|
||||
set(OPENCL_INCLUDE_DIRS
|
||||
${CMAKE_SOURCE_DIR}/api/opencl/khronos/headers
|
||||
${CMAKE_SOURCE_DIR}/api/opencl/khronos/headers/opencl2.0)
|
||||
${CMAKE_SOURCE_DIR}/api/opencl/khronos/headers/opencl2.2)
|
||||
|
||||
add_subdirectory(api/opencl/amdocl)
|
||||
add_subdirectory(api/opencl/khronos/icd)
|
||||
@@ -64,7 +64,7 @@ install(PROGRAMS $<TARGET_FILE:OpenCL>
|
||||
DESTINATION lib)
|
||||
|
||||
install(DIRECTORY
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/api/opencl/khronos/headers/opencl2.0"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/api/opencl/khronos/headers/opencl2.2"
|
||||
DESTINATION include
|
||||
USE_SOURCE_PERMISSIONS
|
||||
PATTERN cl_egl.h EXCLUDE)
|
||||
|
||||
@@ -13,7 +13,7 @@ include_directories(${CMAKE_SOURCE_DIR}/runtime)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/api/opencl)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/api/opencl/khronos)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/api/opencl/khronos/headers)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/api/opencl/khronos/headers/opencl2.0)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/api/opencl/khronos/headers/opencl2.2)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/compiler/driver/src)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/compiler/lib)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/compiler/lib/include)
|
||||
@@ -55,4 +55,4 @@ add_library(amdocl64 SHARED
|
||||
|
||||
target_link_libraries(amdocl64 opencl_driver oclelf pthread dl ${ROCR_LIBRARIES})
|
||||
|
||||
install(TARGETS amdocl64 LIBRARY DESTINATION lib)
|
||||
install(TARGETS amdocl64 LIBRARY DESTINATION lib)
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user