Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion projects/hip-tests/catch/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ find_program(HIPCONFIG_EXEC hipconfig REQUIRED)
# hip root dir is 3 levels down the hip-config.cmake file path
set(HIP_PATH ${hip_DIR}/../../../)
if(NOT DEFINED ROCM_PATH)
set(ROCM_PATH "/opt/rocm")
if(NOT DEFINED THEROCK_SOURCE_DIR)
set(ROCM_PATH "/opt/rocm")
endif()
if(NOT EXISTS "${ROCM_PATH}")
set(ROCM_PATH ${HIP_PATH})
endif()
Comment thread
tcgu-amd marked this conversation as resolved.
Outdated
Expand Down
Loading