Răsfoiți Sursa

HIP: require at least HIP 5.5

uvos 11 luni în urmă
părinte
comite
27d135c970
1 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 4 0
      ggml/src/ggml-hip/CMakeLists.txt

+ 4 - 0
ggml/src/ggml-hip/CMakeLists.txt

@@ -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")