CUDA: fix min. version for movmatrix (llama/11751)

This commit is contained in:
Johannes Gäßler 2025-02-08 10:46:07 +01:00 committed by Georgi Gerganov
parent be83f342fb
commit 7561da244e

View File

@ -16,7 +16,7 @@
#include "common.cuh" #include "common.cuh"
#if CUDART_VERSION >= 11800 #if CUDART_VERSION >= 11080
static __device__ __forceinline__ int ggml_cuda_movmatrix(const int x) { static __device__ __forceinline__ int ggml_cuda_movmatrix(const int x) {
int ret = 0; int ret = 0;
@ -50,7 +50,7 @@ static __device__ __forceinline__ int ggml_cuda_movmatrix(const int x) {
return ret_low | ret_high; return ret_low | ret_high;
} }
#endif // CUDART_VERSION >= 11800 #endif // CUDART_VERSION >= 11080
template <typename T> template <typename T>