summaryrefslogtreecommitdiff
path: root/ggml-quants.c
diff options
context:
space:
mode:
authorRichard Kiss <him@richardkiss.com>2023-12-12 01:53:36 -0800
committerGitHub <noreply@github.com>2023-12-12 11:53:36 +0200
commit9494d7c4774ab745490b5a19570ff7747a194143 (patch)
treeec70be73a544a7cf30a17a0430b87d89a269d188 /ggml-quants.c
parent6138963fb232cbae70c9d181db0ba125708f473d (diff)
english : use `typos` to fix comments and logs (#4354)
Diffstat (limited to 'ggml-quants.c')
-rw-r--r--ggml-quants.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ggml-quants.c b/ggml-quants.c
index 7285d5f7..0e8163a1 100644
--- a/ggml-quants.c
+++ b/ggml-quants.c
@@ -3114,7 +3114,7 @@ void ggml_vec_dot_q5_0_q8_0(const int n, float * restrict s, const void * restri
size_t vl = __riscv_vsetvl_e8m1(qk/2);
- // These tempory registers are for masking and shift operations
+ // These temporary registers are for masking and shift operations
vuint32m2_t vt_1 = __riscv_vid_v_u32m2(vl);
vuint32m2_t vt_2 = __riscv_vsll_vv_u32m2(__riscv_vmv_v_x_u32m2(1, vl), vt_1, vl);
@@ -4757,7 +4757,7 @@ void ggml_vec_dot_q3_K_q8_K(const int n, float * restrict s, const void * restri
vl = 16;
- // retreive lane to multiply with scale
+ // retrieve lane to multiply with scale
vint32m2_t aux0_0 = __riscv_vwmul_vx_i32m2(__riscv_vget_v_i16m2_i16m1(a0, 0), (scale[0]), vl);
vint32m2_t aux0_1 = __riscv_vwmul_vx_i32m2(__riscv_vget_v_i16m2_i16m1(a0, 1), (scale[1]), vl);
vint32m2_t aux1_0 = __riscv_vwmul_vx_i32m2(__riscv_vget_v_i16m2_i16m1(a1, 0), (scale[2]), vl);