Skip to content

Commit 3ac6896

Browse files
committed
remove trailing spaces
1 parent 547d240 commit 3ac6896

File tree

7 files changed

+12
-13
lines changed

7 files changed

+12
-13
lines changed

ggml/src/ggml-cpu/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function(ggml_add_cpu_backend_variant_impl tag_name)
8484

8585
if (GGML_SYSTEM_ARCH STREQUAL "ARM")
8686
message(STATUS "ARM detected")
87-
list(APPEND GGML_CPU_SOURCES
87+
list(APPEND GGML_CPU_SOURCES
8888
ggml-cpu/arch/arm/quants.c
8989
ggml-cpu/arch/arm/repack.cpp
9090
)

ggml/src/ggml-cpu/arch/loongarch/quants.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ void ggml_vec_dot_q5_0_q8_0(int n, float * GGML_RESTRICT s, size_t bs, const voi
883883
}
884884

885885
sumf = hsum_float_8(acc);
886-
886+
887887
#endif
888888
for (; ib < nb; ++ib) {
889889
uint32_t qh;
@@ -954,7 +954,7 @@ void ggml_vec_dot_q5_1_q8_1(int n, float * GGML_RESTRICT s, size_t bs, const voi
954954
}
955955

956956
sumf = hsum_float_8(acc) + summs;
957-
957+
958958
#endif
959959
for (; ib < nb; ++ib) {
960960
uint32_t qh;

ggml/src/ggml-cpu/arch/powerpc/quants.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ void ggml_vec_dot_q4_1_q8_1(int n, float * GGML_RESTRICT s, size_t bs, const voi
278278
vsumf0 = vec_add(vsumf0, vec_sld(vsumf0, vsumf0, 8));
279279

280280
sumf = vec_extract(vsumf0, 0);
281-
281+
282282
#endif
283283
for (; ib < nb; ++ib) {
284284
int sumi0 = 0;
@@ -360,7 +360,7 @@ void ggml_vec_dot_q5_0_q8_0(int n, float * GGML_RESTRICT s, size_t bs, const voi
360360
vsumf0 = vec_add(vsumf0, vec_sld(vsumf0, vsumf0, 8));
361361

362362
sumf = vec_extract(vsumf0, 0);
363-
363+
364364
#endif
365365
for (; ib < nb; ++ib) {
366366
uint32_t qh;

ggml/src/ggml-cpu/arch/riscv/quants.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ void ggml_vec_dot_q5_0_q8_0(int n, float * GGML_RESTRICT s, size_t bs, const voi
295295

296296
sumf += (GGML_FP16_TO_FP32(x[ib].d) * GGML_FP16_TO_FP32(y[ib].d)) * sumi;
297297
}
298-
298+
299299
#endif
300300
for (; ib < nb; ++ib) {
301301
uint32_t qh;
@@ -368,7 +368,7 @@ void ggml_vec_dot_q5_1_q8_1(int n, float * GGML_RESTRICT s, size_t bs, const voi
368368

369369
sumf += (GGML_FP16_TO_FP32(x[ib].d)*GGML_FP16_TO_FP32(y[ib].d))*sumi + GGML_FP16_TO_FP32(x[ib].m)*GGML_FP16_TO_FP32(y[ib].s);
370370
}
371-
371+
372372
#endif
373373
for (; ib < nb; ++ib) {
374374
uint32_t qh;
@@ -2020,7 +2020,7 @@ void ggml_vec_dot_q6_K_q8_K(int n, float * GGML_RESTRICT s, size_t bs, const voi
20202020
}
20212021

20222022
*s = sumf;
2023-
2023+
20242024
#else
20252025

20262026
int8_t aux8[QK_K];

ggml/src/ggml-cpu/arch/s390/quants.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ void ggml_vec_dot_q4_1_q8_1(int n, float * GGML_RESTRICT s, size_t bs, const voi
239239
}
240240

241241
sumf = acc[0] + acc[1] + acc[2] + acc[3] + summs;
242-
242+
243243
#endif
244244
for (; ib < nb; ++ib) {
245245
int sumi0 = 0;

ggml/src/ggml-cpu/arch/wasm/quants.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ void ggml_vec_dot_q5_0_q8_0(int n, float * GGML_RESTRICT s, size_t bs, const voi
435435

436436
sumf = wasm_f32x4_extract_lane(sumv, 0) + wasm_f32x4_extract_lane(sumv, 1) +
437437
wasm_f32x4_extract_lane(sumv, 2) + wasm_f32x4_extract_lane(sumv, 3);
438-
438+
439439
#endif
440440
for (; ib < nb; ++ib) {
441441
uint32_t qh;
@@ -545,7 +545,7 @@ void ggml_vec_dot_q5_1_q8_1(int n, float * GGML_RESTRICT s, size_t bs, const voi
545545

546546
sumf = wasm_f32x4_extract_lane(sumv, 0) + wasm_f32x4_extract_lane(sumv, 1) +
547547
wasm_f32x4_extract_lane(sumv, 2) + wasm_f32x4_extract_lane(sumv, 3) + summs;
548-
548+
549549
#endif
550550
for (; ib < nb; ++ib) {
551551
uint32_t qh;
@@ -1434,7 +1434,7 @@ void ggml_vec_dot_q6_K_q8_K(int n, float * GGML_RESTRICT s, size_t bs, const voi
14341434
sumf += sums[l];
14351435
}
14361436
*s = sumf;
1437-
1437+
14381438
#else
14391439

14401440
int8_t aux8[QK_K];

ggml/src/ggml-cpu/arch/x86/quants.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <math.h>
1111
#include <string.h>
1212
#include <assert.h>
13-
#include <float.h>
1413
#include <stdlib.h> // for qsort
1514
#include <stdio.h> // for GGML_ASSERT
1615

0 commit comments

Comments
 (0)