From: Johannes Gäßler Date: Sat, 8 Feb 2025 09:46:07 +0000 (+0100) Subject: CUDA: fix min. version for movmatrix (llama/11751) X-Git-Tag: upstream/1.7.4+203~88 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=7561da244e9b270c600365991f2a7fb0c30e2b17;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp CUDA: fix min. version for movmatrix (llama/11751) --- diff --git a/ggml/src/ggml-cuda/mma.cuh b/ggml/src/ggml-cuda/mma.cuh index 9788a138..bbc0a35a 100644 --- a/ggml/src/ggml-cuda/mma.cuh +++ b/ggml/src/ggml-cuda/mma.cuh @@ -16,7 +16,7 @@ #include "common.cuh" -#if CUDART_VERSION >= 11800 +#if CUDART_VERSION >= 11080 static __device__ __forceinline__ int ggml_cuda_movmatrix(const int x) { int ret = 0; @@ -50,7 +50,7 @@ static __device__ __forceinline__ int ggml_cuda_movmatrix(const int x) { return ret_low | ret_high; } -#endif // CUDART_VERSION >= 11800 +#endif // CUDART_VERSION >= 11080 template