Skip to content

Commit 27d135c

Browse files
committed
HIP: require at least HIP 5.5
1 parent 6af1ca4 commit 27d135c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ggml/src/ggml-hip/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ find_package(hip REQUIRED)
4040
find_package(hipblas REQUIRED)
4141
find_package(rocblas REQUIRED)
4242

43+
if (${hip_VERSION} VERSION_LESS 5.5)
44+
message(FATAL_ERROR "At least ROCM/HIP V5.5 is required")
45+
endif()
46+
4347
message(STATUS "HIP and hipBLAS found")
4448

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

0 commit comments

Comments
 (0)