From a3a46580f74cf40e8549ceb659afdad9ae26555c Mon Sep 17 00:00:00 2001 From: JohannesGaessler Date: Sun, 11 Feb 2024 19:04:00 +0100 Subject: [PATCH] any_pascal fixup --- ggml-cuda.cu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ggml-cuda.cu b/ggml-cuda.cu index dd2e5461a..f2cc6bc98 100644 --- a/ggml-cuda.cu +++ b/ggml-cuda.cu @@ -9932,7 +9932,8 @@ static void ggml_cuda_mul_mat(const ggml_tensor * src0, const ggml_tensor * src1 } } } else { - min_compute_capability = g_device_caps[g_main_device].cc; + min_compute_capability = g_device_caps[g_main_device].cc; + any_pascal_with_slow_fp16 = g_device_caps[g_main_device].cc == 610; } // check data types and tensor shapes for custom matrix multiplication kernels: