uvos commited on
Commit
72c425b
·
1 Parent(s): bc1c1a4

HIP: require at least HIP 5.5

Browse files
Files changed (1) hide show
  1. ggml/src/ggml-hip/CMakeLists.txt +4 -0
ggml/src/ggml-hip/CMakeLists.txt CHANGED
@@ -40,6 +40,10 @@ find_package(hip REQUIRED)
40
  find_package(hipblas REQUIRED)
41
  find_package(rocblas REQUIRED)
42
 
 
 
 
 
43
  message(STATUS "HIP and hipBLAS found")
44
 
45
  file(GLOB GGML_HEADERS_ROCM "../ggml-cuda/*.cuh")
 
40
  find_package(hipblas REQUIRED)
41
  find_package(rocblas REQUIRED)
42
 
43
+ if (${hip_VERSION} VERSION_LESS 5.5)
44
+ message(FATAL_ERROR "At least ROCM/HIP V5.5 is required")
45
+ endif()
46
+
47
  message(STATUS "HIP and hipBLAS found")
48
 
49
  file(GLOB GGML_HEADERS_ROCM "../ggml-cuda/*.cuh")