Skip to content

Commit f385e49

Browse files
committed
Use ROCm folder as provided by alidist-gpu recipe
1 parent f045ccf commit f385e49

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dependencies/FindO2GPU.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ if(ENABLE_HIP)
313313
if(NOT "$ENV{CMAKE_PREFIX_PATH}" MATCHES "rocm" AND NOT CMAKE_PREFIX_PATH MATCHES "rocm" AND EXISTS "/opt/rocm/lib/cmake/")
314314
list(APPEND CMAKE_PREFIX_PATH "/opt/rocm/lib/cmake")
315315
endif()
316+
# TODO: Use ROCm folder as provided by alidist-gpu recipe
316317
if("$ENV{CMAKE_PREFIX_PATH}" MATCHES "rocm" OR CMAKE_PREFIX_PATH MATCHES "rocm")
317318
set(CMAKE_HIP_STANDARD ${CMAKE_CXX_STANDARD})
318319
set(CMAKE_HIP_STANDARD_REQUIRED TRUE)

0 commit comments

Comments
 (0)