Skip to content

Commit a74bf2a

Browse files
committed
Reviewer feedback: removed macros
1 parent 864f7c8 commit a74bf2a

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

ggml.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,15 +1974,7 @@ static void ggml_vec_dot_q4_0(const int n, float * restrict s, const void * rest
19741974
// Main loop
19751975
for (int i = 0; i < nb; i+=UNROLL_COUNT) {
19761976

1977-
<<<<<<< HEAD
19781977
// This loop will be unrolled by the compiler
1979-
=======
1980-
/* Prepare the constants we will need during execution */
1981-
const __m256i lowMask = _mm256_set1_epi8( 0xF );
1982-
const __m256i offset_8 = _mm256_set1_epi16( 8 );
1983-
1984-
// This loop will be unrolled by the compiler
1985-
>>>>>>> 359be15 (Change comment, fix whitespace)
19861978
for (int u=0;u<UNROLL_COUNT;u++) {
19871979
/* Compute combined scale for the block */
19881980
const __m256 scale = _mm256_mul_ps(
@@ -2064,7 +2056,7 @@ static void ggml_vec_dot_q4_0(const int n, float * restrict s, const void * rest
20642056
bx = _mm_sub_epi8( bx, off );
20652057
by = _mm_sub_epi8( by, off );
20662058

2067-
// Get absolute values of x vectors
2059+
// Get absolute values of x vectors
20682060
const __m128i ax = _mm_sign_epi8(bx, bx);
20692061

20702062
// Sign the values of the y vectors

0 commit comments

Comments
 (0)