mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-13 04:00:16 +00:00
fix
This commit is contained in:
parent
344467f2b8
commit
65ac3a3627
@ -3802,9 +3802,9 @@ void ggml_vec_dot_i2_i8_s(int n, float * restrict s, size_t bs, const void * res
|
|||||||
UNUSED(by);
|
UNUSED(by);
|
||||||
UNUSED(nrc);
|
UNUSED(nrc);
|
||||||
|
|
||||||
#if defined(__AVX2__)
|
// #if defined(__AVX2__)
|
||||||
// TODO
|
// // TODO
|
||||||
#else
|
// #else
|
||||||
|
|
||||||
int sumi = 0;
|
int sumi = 0;
|
||||||
|
|
||||||
@ -3816,7 +3816,7 @@ void ggml_vec_dot_i2_i8_s(int n, float * restrict s, size_t bs, const void * res
|
|||||||
sumi += (int)y[i*4+3] * weight[3];
|
sumi += (int)y[i*4+3] * weight[3];
|
||||||
}
|
}
|
||||||
*s = (float)sumi;
|
*s = (float)sumi;
|
||||||
#endif
|
// #endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void ggml_vec_dot_q4_0_q8_0(int n, float * restrict s, size_t bs, const void * restrict vx, size_t bx, const void * restrict vy, size_t by, int nrc) {
|
void ggml_vec_dot_q4_0_q8_0(int n, float * restrict s, size_t bs, const void * restrict vx, size_t bx, const void * restrict vy, size_t by, int nrc) {
|
||||||
|
Loading…
Reference in New Issue
Block a user