From 1ed8878a4cbd3ffca7a2bb0c2fe58213459cbd7a Mon Sep 17 00:00:00 2001 From: Sebastian Apel <13675545+SebastianApel@users.noreply.github.com> Date: Mon, 3 Apr 2023 09:31:15 +0200 Subject: [PATCH] Reviewer comments: removed double semicolon, deleted empty line 1962 --- ggml.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ggml.c b/ggml.c index 068bf32f8..59e84ab45 100644 --- a/ggml.c +++ b/ggml.c @@ -1959,7 +1959,6 @@ static void ggml_vec_dot_q4_0(const int n, float * restrict s, const void * rest // Horizontal sum of all lanes of the accumulator sumf = _mm512_reduce_add_ps( acc0 ) + _mm512_reduce_add_ps( acc1 ); #elif defined(__AVX2__) - // Initialize accumulator with zeros __m256 acc = _mm256_setzero_ps(); @@ -2024,7 +2023,7 @@ static void ggml_vec_dot_q4_0(const int n, float * restrict s, const void * rest __m256 q = _mm256_cvtepi32_ps( xy_q ); /* Multiply q with scale and accumulate */ - acc = _mm256_fmadd_ps( scale, q, acc );; + acc = _mm256_fmadd_ps( scale, q, acc ); } }