aboutsummaryrefslogtreecommitdiff
path: root/ggml-cuda.cu
diff options
context:
space:
mode:
authorJohannes Gäßler <johannesg@5d6.de>2023-06-15 21:49:08 +0200
committerGitHub <noreply@github.com>2023-06-15 21:49:08 +0200
commita09f9195be39afb4b023b646c0a6ec8a86915174 (patch)
tree0d939388bc46776344ca4c7572fbe6974befe2c7 /ggml-cuda.cu
parentbed92756172d4514b23aaf9744cf8e2dc892fc7b (diff)
Fixed CUDA runtime version check (#1879)
Diffstat (limited to 'ggml-cuda.cu')
-rw-r--r--ggml-cuda.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggml-cuda.cu b/ggml-cuda.cu
index 0873e3e..bd89d0a 100644
--- a/ggml-cuda.cu
+++ b/ggml-cuda.cu
@@ -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); \