mirror of
https://git.adityakumar.xyz/llama.cpp.git
synced 2024-11-09 23:29:44 +00:00
parent
ed3c680bcd
commit
77efdf5a50
1 changed files with 2 additions and 2 deletions
4
ggml.c
4
ggml.c
|
@ -1038,8 +1038,8 @@ static void dequantize_row_q4_1(const void * restrict vx, float * restrict y, in
|
||||||
const uint8x16_t vq = vcombine_u8(vx_0, vx_1);
|
const uint8x16_t vq = vcombine_u8(vx_0, vx_1);
|
||||||
|
|
||||||
// convert to 2x uint16x8_t
|
// convert to 2x uint16x8_t
|
||||||
const uint16x8_t vi_0 = vmovl_s8(vget_low_u8 (vq));
|
const uint16x8_t vi_0 = vmovl_u8(vget_low_u8 (vq));
|
||||||
const uint16x8_t vi_1 = vmovl_s8(vget_high_u8(vq));
|
const uint16x8_t vi_1 = vmovl_u8(vget_high_u8(vq));
|
||||||
|
|
||||||
// convert to 4x float32x4_t
|
// convert to 4x float32x4_t
|
||||||
const float32x4_t vf_0 = vcvtq_f32_u32(vmovl_u16(vget_low_u16 (vi_0)));
|
const float32x4_t vf_0 = vcvtq_f32_u32(vmovl_u16(vget_low_u16 (vi_0)));
|
||||||
|
|
Loading…
Reference in a new issue