From cb0a8ff4e7dab37c118379543ee597c14452febc Mon Sep 17 00:00:00 2001 From: chraac Date: Mon, 22 Dec 2025 01:26:14 +0800 Subject: [PATCH] add unroll marker --- ggml/src/ggml-hexagon/htp/matmul-ops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ggml/src/ggml-hexagon/htp/matmul-ops.c b/ggml/src/ggml-hexagon/htp/matmul-ops.c index bf0edd7fa9..5d7ec4d88d 100644 --- a/ggml/src/ggml-hexagon/htp/matmul-ops.c +++ b/ggml/src/ggml-hexagon/htp/matmul-ops.c @@ -920,6 +920,7 @@ static void vec_dot_f16_f32(const int n, float * restrict s, const void * restri HVX_Vector rsum = Q6_V_vsplat_R(0); uint32_t i = 0; +#pragma unroll(2) for (i = 0; i < nv0; i++) { HVX_VectorPair yp = vy[i]; HVX_Vector x = vx[i];