mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-14 06:49:54 +00:00
Fixed CUDA runtime version check (#1879)
This commit is contained in:
parent
bed9275617
commit
a09f9195be
@ -25,7 +25,7 @@ static_assert(sizeof(half) == sizeof(ggml_fp16_t), "wrong fp16 size");
|
|||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#if CUDART_VERSION >= 12
|
#if CUDART_VERSION >= 12000
|
||||||
#define CUBLAS_CHECK(err) \
|
#define CUBLAS_CHECK(err) \
|
||||||
do { \
|
do { \
|
||||||
cublasStatus_t err_ = (err); \
|
cublasStatus_t err_ = (err); \
|
||||||
|
Loading…
Reference in New Issue
Block a user