Skip to content

Commit

Permalink
Reduce rocm-cmake ver dep (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
samjwu authored Jul 17, 2024
1 parent 4f69301 commit b06da41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ if(BUILD_BENCHMARK)
endif(BUILD_BENCHMARK)

if(NOT DEPENDENCIES_FORCE_DOWNLOAD)
find_package(ROCM 0.12.0 CONFIG QUIET PATHS "${ROCM_ROOT}") # rocm-cmake
find_package(ROCM 0.11.0 CONFIG QUIET PATHS "${ROCM_ROOT}") # rocm-cmake
endif()
if(NOT ROCM_FOUND)
message(STATUS "ROCm CMake not found. Fetching...")
Expand All @@ -196,7 +196,7 @@ if(NOT ROCM_FOUND)
FetchContent_MakeAvailable(rocm-cmake)
find_package(ROCM CONFIG REQUIRED NO_DEFAULT_PATH PATHS "${rocm-cmake_SOURCE_DIR}")
else()
find_package(ROCM 0.12.0 CONFIG REQUIRED PATHS "${ROCM_ROOT}")
find_package(ROCM 0.11.0 CONFIG REQUIRED PATHS "${ROCM_ROOT}")
endif()

# Restore user global state
Expand Down

0 comments on commit b06da41

Please sign in to comment.