CUDA: fix min. version for movmatrix (#11751)
This commit is contained in:
parent
3ab410f55f
commit
d80be897ac
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue