ggml: fix compile error for RISC-V (llama/8623)

This commit is contained in:
Mark Zhuang 2024-07-22 15:56:45 +08:00 committed by Georgi Gerganov
parent 8c4f30497a
commit 0bc8bffe1d

View File

@ -4761,7 +4761,7 @@ void ggml_vec_dot_q5_0_q8_0(int n, float * restrict s, size_t bs, const void * r
int sumi = __riscv_vmv_x_s_i32m1_i32(vs2);
sumf += (GGML_FP16_TO_FP32(x[i].d)*GGML_FP16_TO_FP32(y[i].d)) * sumi;
sumf += (GGML_FP16_TO_FP32(x[ib].d)*GGML_FP16_TO_FP32(y[ib].d)) * sumi;
}
#elif defined(__POWER9_VECTOR__)