Fixed CUDA runtime version check

This commit is contained in:
JohannesGaessler 2023-06-15 19:55:36 +02:00
parent 9dda13e5e1
commit dd13ec96ed

View file

@ -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); \