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/0.0.1722~13 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=70a6de58ddb2da7c061ba4c98b66f00ec215f7d2;p=pkg%2Fggml%2Fsources%2Fggml CUDA: fix min. version for movmatrix (llama/11751) --- diff --git a/src/ggml-cuda/mma.cuh b/src/ggml-cuda/mma.cuh index 9788a138..bbc0a35a 100644 --- a/src/ggml-cuda/mma.cuh +++ b/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