]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
CUDA: fix min. version for movmatrix (#11751)
authorJohannes Gäßler <redacted>
Sat, 8 Feb 2025 09:46:07 +0000 (10:46 +0100)
committerGitHub <redacted>
Sat, 8 Feb 2025 09:46:07 +0000 (10:46 +0100)
ggml/src/ggml-cuda/mma.cuh

index 9788a1389a35df58862034994f4d2b3824862f0e..bbc0a35ae561669231f845aa8a5584cbc3922802 100644 (file)
@@ -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 <typename T>