]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Fixed CUDA runtime version check (#1879)
authorJohannes Gäßler <redacted>
Thu, 15 Jun 2023 19:49:08 +0000 (21:49 +0200)
committerGitHub <redacted>
Thu, 15 Jun 2023 19:49:08 +0000 (21:49 +0200)
ggml-cuda.cu

index 0873e3e515e1499fa9d44e815920519a62dc8867..bd89d0a1f79d967e4bff6e6aac6f6c7064e65aa0 100644 (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);                                                    \