ggml-hexagon: add PAD op HVX kernel (#23078)

* ggml-hexagon: add PAD op HVX kernel

Implements GGML_OP_PAD on the Hexagon HTP backend using HVX vectorized
kernels. Supports zero-padding and circular padding across all 4 tensor
dimensions.

* hex-ggml: remove duplicate op cases (merge conflict)

* hex-pad: fix editorconfig checks and macro alignment

---------

Co-authored-by: Max Krasnyansky <maxk@qti.qualcomm.com>
This commit is contained in:
Pranav Dhinakar
2026-05-18 13:39:36 -07:00
committed by GitHub
co-authored by Max Krasnyansky
parent 5cbaa5e69e
commit b7340443d4
6 changed files with 569 additions and 0 deletions
+1
View File
@@ -86,6 +86,7 @@ enum htp_op_code {
HTP_OP_SOLVE_TRI,
HTP_OP_L2_NORM,
HTP_OP_GATED_DELTA_NET,
HTP_OP_PAD,
HTP_OP_INVALID
};