We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef9360e commit b9943eeCopy full SHA for b9943ee
dependencies/FindO2GPU.cmake
@@ -126,8 +126,6 @@ if(ENABLE_OPENCL2)
126
OR OPENCL2_ENABLED_AMD
127
OR OPENCL2_ENABLED_SPIRV)
128
set(OPENCL2_ENABLED ON)
129
- add_library(ROCm::rocThrust ALIAS rocthrust)
130
-
131
message(
132
STATUS
133
"Found OpenCL 2 (${OpenCL_VERSION_STRING} ; AMD ${OPENCL2_ENABLED_AMD} ${CLANG_OCL} ; SPIR-V ${OPENCL2_ENABLED_SPIRV} ${LLVM_SPIRV} with CLANG ${LLVM_PACKAGE_VERSION})"
@@ -182,6 +180,7 @@ if(ENABLE_HIP)
182
180
endif()
183
181
if(hip_FOUND AND hipcub_FOUND AND rocthrust_FOUND AND rocprim_FOUND AND hip_HIPCC_EXECUTABLE)
184
set(HIP_ENABLED ON)
+ add_library(ROCm::rocThrust ALIAS rocthrust)
185
message(STATUS "HIP Found (${hip_HIPCC_EXECUTABLE})")
186
187
0 commit comments