We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bf6ebe commit a34fcd7Copy full SHA for a34fcd7
dependencies/FindO2GPU.cmake
@@ -202,6 +202,8 @@ endif()
202
203
# Detect and enable HIP
204
if(ENABLE_HIP)
205
+ set(CMAKE_HIP_STANDARD 17)
206
+ set(CMAKE_HIP_STANDARD_REQUIRED TRUE)
207
if(HIP_AMDGPUTARGET)
208
set(AMDGPU_TARGETS "${HIP_AMDGPUTARGET}" CACHE STRING "AMD GPU targets to compile for" FORCE)
209
set(GPU_TARGETS "${HIP_AMDGPUTARGET}" CACHE STRING "AMD GPU targets to compile for" FORCE)
0 commit comments