mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-06-02 07:20:41 +00:00
CUDA: fix min. version for movmatrix (llama/11751)
This commit is contained in:
parent
be83f342fb
commit
7561da244e
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user