]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
hexagon: Add ARGSORT, DIV, SQR, SQRT, SUM_ROWS, GEGLU (llama/19406)
authorMax Krasnyansky <redacted>
Wed, 11 Feb 2026 07:21:12 +0000 (23:21 -0800)
committerGeorgi Gerganov <redacted>
Sat, 14 Feb 2026 22:20:18 +0000 (00:20 +0200)
commit2b1ca3ebb2ae8acc2343ec831ee1356928658864
tree829070dfc2fdd30f8ad84ed3660e2e5d46d259d3
parentb5b084132259d39466830ad288cbd45be883d2af
hexagon: Add ARGSORT, DIV, SQR, SQRT, SUM_ROWS, GEGLU (llama/19406)

* hexagon: add ARGSORT op

Co-authored-by: Yarden Tal <redacted>
* hexagon: argsort reject tensors with huge rows for now

* Adding support for DIV,SQR,SQRT,SUM_ROWS ops in hexagon backend

* hexagon : Add GEGLU op

* hexagon: fix editor config check

* hexagon: rewrite and optimize binary ops ADD/SUB/MUL/DIV/ADD_ID to use DMA

---------

Co-authored-by: Yarden Tal <redacted>
Co-authored-by: Manohara Hosakoppa Krishnamurthy <redacted>
17 files changed:
src/ggml-hexagon/ggml-hexagon.cpp
src/ggml-hexagon/htp/CMakeLists.txt
src/ggml-hexagon/htp/act-ops.c
src/ggml-hexagon/htp/argsort-ops.c [new file with mode: 0644]
src/ggml-hexagon/htp/binary-ops.c
src/ggml-hexagon/htp/htp-msg.h
src/ggml-hexagon/htp/htp-ops.h
src/ggml-hexagon/htp/hvx-arith.h
src/ggml-hexagon/htp/hvx-base.h
src/ggml-hexagon/htp/hvx-copy.h
src/ggml-hexagon/htp/hvx-div.h [new file with mode: 0644]
src/ggml-hexagon/htp/hvx-sigmoid.h
src/ggml-hexagon/htp/hvx-sqrt.h
src/ggml-hexagon/htp/hvx-utils.h
src/ggml-hexagon/htp/main.c
src/ggml-hexagon/htp/sum-rows-ops.c [new file with mode: 0644]
src/ggml-hexagon/htp/unary-ops.c