Skip to content

Commit

Permalink
HIP: require at least HIP 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
IMbackK committed Jan 29, 2025
1 parent af71052 commit 7e1c85c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ggml/src/ggml-hip/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ find_package(hip REQUIRED)
find_package(hipblas REQUIRED)
find_package(rocblas REQUIRED)

if (${hip_VERSION} VERSION_LESS 5.5)
message(FATAL_ERROR "At least ROCM/HIP V5.5 is required")
endif()

message(STATUS "HIP and hipBLAS found")

file(GLOB GGML_HEADERS_ROCM "../ggml-cuda/*.cuh")
Expand Down

0 comments on commit 7e1c85c

Please sign in to comment.