mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-13 04:00:16 +00:00
ggml : remove trailing whitespaces
This commit is contained in:
parent
d9a239c410
commit
9d634ef452
2
ggml.c
2
ggml.c
@ -1954,7 +1954,6 @@ static void ggml_vec_dot_q4_0(const int n, float * restrict s, const void * rest
|
|||||||
|
|
||||||
// Main loop
|
// Main loop
|
||||||
for (int i = 0; i < nb; i+=UNROLL_COUNT) {
|
for (int i = 0; i < nb; i+=UNROLL_COUNT) {
|
||||||
|
|
||||||
// This loop will be unrolled by the compiler
|
// This loop will be unrolled by the compiler
|
||||||
for (int u=0;u<UNROLL_COUNT;u++) {
|
for (int u=0;u<UNROLL_COUNT;u++) {
|
||||||
/* Compute combined scale for the block */
|
/* Compute combined scale for the block */
|
||||||
@ -2007,7 +2006,6 @@ static void ggml_vec_dot_q4_0(const int n, float * restrict s, const void * rest
|
|||||||
/* Multiply q with scale and accumulate */
|
/* Multiply q with scale and accumulate */
|
||||||
acc = _mm256_fmadd_ps( scale, q, acc );
|
acc = _mm256_fmadd_ps( scale, q, acc );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return horizontal sum of the acc vector
|
// Return horizontal sum of the acc vector
|
||||||
|
Loading…
Reference in New Issue
Block a user