Skip to content

Commit ef9360e

Browse files
davidrohrsawenzel
authored andcommitted
Fix GPU CMake namespaces
1 parent 8021a78 commit ef9360e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

GPU/GPUTracking/Base/hip/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if(ALIGPU_BUILD_TYPE STREQUAL "O2")
2525
o2_add_library(
2626
${MODULE}
2727
SOURCES ${SRCS}
28-
PUBLIC_LINK_LIBRARIES O2::GPUTracking hip::host hip::device hip::hipcub rocthrust
28+
PUBLIC_LINK_LIBRARIES O2::GPUTracking hip::host hip::device hip::hipcub ROCm::rocThrust
2929
PUBLIC_INCLUDE_DIRECTORIES ${CMAKE_SOURCE_DIR}/Detectors/TRD/base/src
3030
${CMAKE_SOURCE_DIR}/Detectors/Base/src
3131
TARGETVARNAME targetName)

dependencies/FindO2GPU.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ if(ENABLE_OPENCL2)
126126
OR OPENCL2_ENABLED_AMD
127127
OR OPENCL2_ENABLED_SPIRV)
128128
set(OPENCL2_ENABLED ON)
129+
add_library(ROCm::rocThrust ALIAS rocthrust)
129130

130131
message(
131132
STATUS

0 commit comments

Comments
 (0)