From 8ead56c03a33cdc78d0b666f49f9769ea44bf41d Mon Sep 17 00:00:00 2001 From: jon-chuang Date: Wed, 26 Apr 2023 22:58:20 +0800 Subject: [PATCH] fix --- ggml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml.c b/ggml.c index 76a435e6c..2924eaa19 100644 --- a/ggml.c +++ b/ggml.c @@ -7755,7 +7755,7 @@ static void ggml_compute_forward_mul_mat_f32( assert(ne3 == ne03); #if defined(__AVX2__) || defined(__AVX__) - if (ggml_cpu_has_avx2() && ne00 <= 48 || ne00 <= 32) { + if ((ggml_cpu_has_avx2() && ne00 <= 48) || ne00 <= 32) { // Handle tall and skinny matrices // TODO(jon-chuang): Also check that we only handle 2D matrices? assert(ne00 == ne10);