Skip to content

Commit 359be15

Browse files
committed
Change comment, fix whitespace
1 parent aa3a518 commit 359be15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,7 +2032,7 @@ static void ggml_vec_dot_q4_0(const int n, float * restrict s, const void * rest
20322032
// Main loop
20332033
for (int i = 0; i < nb; i+=UNROLL_COUNT) {
20342034

2035-
/* Load 16 bytes, and unpack 4 bit fields into bytes */
2035+
/* Prepare the constants we will need during execution */
20362036
const __m256i lowMask = _mm256_set1_epi8( 0xF );
20372037
const __m256i offset_8 = _mm256_set1_epi16( 8 );
20382038

@@ -2048,7 +2048,7 @@ static void ggml_vec_dot_q4_0(const int n, float * restrict s, const void * rest
20482048
res = _mm_add_ps( res, _mm256_castps256_ps128( acc ) );
20492049
res = _mm_add_ps( res, _mm_movehl_ps( res, res ) );
20502050
res = _mm_add_ss( res, _mm_movehdup_ps( res ) );
2051-
2051+
20522052
sumf = _mm_cvtss_f32( res );
20532053
#elif defined(__AVX__)
20542054
// Initialize accumulator with zeros

0 commit comments

Comments
 (0)