diff options
author | Johannes Gäßler <johannesg@5d6.de> | 2023-06-15 21:49:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-15 21:49:08 +0200 |
commit | a09f9195be39afb4b023b646c0a6ec8a86915174 (patch) | |
tree | 0d939388bc46776344ca4c7572fbe6974befe2c7 /ggml-cuda.cu | |
parent | bed92756172d4514b23aaf9744cf8e2dc892fc7b (diff) |
Fixed CUDA runtime version check (#1879)
Diffstat (limited to 'ggml-cuda.cu')
-rw-r--r-- | ggml-cuda.cu | 2 |
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); \ |