Reviewer comments: removed double semicolon, deleted empty line 1962

This commit is contained in:
Sebastian Apel 2023-04-03 09:31:15 +02:00
parent b589e34f92
commit 1ed8878a4c

3
ggml.c
View file

@ -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 );
}
}