]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
hexagon: activation ops update (#25974)
authorTodor Boinovski <redacted>
Wed, 22 Jul 2026 16:25:04 +0000 (09:25 -0700)
committerGitHub <redacted>
Wed, 22 Jul 2026 16:25:04 +0000 (09:25 -0700)
commit0278d8362d78c5de291bc03b76016f7f74b2ab77
tree582f0c36741f9c3eb21c6f87eeaa11ff021d1d88
parente0833bf6860c29fc4efc0e33699dd48f8c23dcc5
hexagon: activation ops update (#25974)

* hex-geglu: optimized all-in-one geglu microkernel

* hex-geglu: enable non-contiguous src and strided DMA

* hex-act: enable non-contiguous srs and strided DMA for rest of ACT ops

* hex-act: generalize GLU per-thread functions via DEFINE_GLU_PER_THREAD macro

* hexagon: move UNARY_SILU and UNARY_GELU to unary-ops

* hex-act: replace the generic ops_context scratchpad usage with a local htp_vtcm_layout computation per act op.

---------

Co-authored-by: Max Krasnyansky <redacted>
ggml/src/ggml-hexagon/ggml-hexagon.cpp
ggml/src/ggml-hexagon/htp/act-ops.c
ggml/src/ggml-hexagon/htp/main.c
ggml/src/ggml-hexagon/htp/unary-ops.c
ggml/src/ggml-hexagon/htp/unary-ops.h