]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
HIP: require at least HIP 5.5
authoruvos <redacted>
Wed, 29 Jan 2025 18:36:00 +0000 (19:36 +0100)
committerGeorgi Gerganov <redacted>
Mon, 3 Feb 2025 20:00:57 +0000 (22:00 +0200)
ggml/src/ggml-hip/CMakeLists.txt

index ecc3bc66d44c0d95a516a155ee8227f879c00215..7a877bdc11a6f529c15044316ea6fbbd0d51fb51 100644 (file)
@@ -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")