Fixed CUDA runtime version check (#1879)

This commit is contained in:
Johannes Gäßler 2023-06-15 21:49:08 +02:00 committed by GitHub
parent bed9275617
commit a09f9195be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ static_assert(sizeof(half) == sizeof(ggml_fp16_t), "wrong fp16 size");
} \
} while (0)
#if CUDART_VERSION >= 12
#if CUDART_VERSION >= 12000
#define CUBLAS_CHECK(err) \
do { \
cublasStatus_t err_ = (err); \