From: uvos Date: Wed, 29 Jan 2025 18:36:00 +0000 (+0100) Subject: HIP: require at least HIP 5.5 X-Git-Tag: upstream/0.0.1689~11 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=f64f35685455e68586eed0fb61b0773730c8fee8;p=pkg%2Fggml%2Fsources%2Fggml HIP: require at least HIP 5.5 --- diff --git a/src/ggml-hip/CMakeLists.txt b/src/ggml-hip/CMakeLists.txt index ecc3bc66..7a877bdc 100644 --- a/src/ggml-hip/CMakeLists.txt +++ b/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")