ggml-cpu: fix typo for vec_splats
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
This commit is contained in:
parent
ae718c7d8c
commit
f7e7539c03
|
|
@ -300,7 +300,7 @@ void ggml_vec_dot_mxfp4_q8_0(int n, float * GGML_RESTRICT s, size_t bs, const vo
|
||||||
|
|
||||||
const int32x4_t v_xy = ggml_vec_dot(ggml_vec_dot(vec_splats(0), v_xl, v_yl), v_xh, v_yh);
|
const int32x4_t v_xy = ggml_vec_dot(ggml_vec_dot(vec_splats(0), v_xl, v_yl), v_xh, v_yh);
|
||||||
const float32x4_t v_xyf = vec_float(v_xy);
|
const float32x4_t v_xyf = vec_float(v_xy);
|
||||||
const float32x4_t v_d = vec_splats(0, GGML_E8M0_TO_FP32_HALF(x0->e) * GGML_CPU_FP16_TO_FP32(y0->d));
|
const float32x4_t v_d = vec_splats(GGML_E8M0_TO_FP32_HALF(x0->e) * GGML_CPU_FP16_TO_FP32(y0->d));
|
||||||
|
|
||||||
v_acc = vec_madd(v_xyf, v_d, v_acc);
|
v_acc = vec_madd(v_xyf, v_d, v_acc);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue