Răsfoiți Sursa

CUDA: fix min. version for movmatrix (#11751)

Johannes Gäßler 11 luni în urmă
părinte
comite
d80be897ac
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      ggml/src/ggml-cuda/mma.cuh

+ 2 - 2
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 <typename T>