]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
hexagon: Add ARGSORT, DIV, SQR, SQRT, SUM_ROWS, GEGLU (#19406)
authorMax Krasnyansky <redacted>
Wed, 11 Feb 2026 07:21:12 +0000 (23:21 -0800)
committerGitHub <redacted>
Wed, 11 Feb 2026 07:21:12 +0000 (23:21 -0800)
commit73cd5e1b971d6223c58d88907672d1a153bd18d9
treee508478460cf47112c4a1166b91f34bb77560ac0
parent8ee538ce73de1afbf6924a38c2d016e496c26497
hexagon: Add ARGSORT, DIV, SQR, SQRT, SUM_ROWS, GEGLU (#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:
ggml/src/ggml-hexagon/ggml-hexagon.cpp
ggml/src/ggml-hexagon/htp/CMakeLists.txt
ggml/src/ggml-hexagon/htp/act-ops.c
ggml/src/ggml-hexagon/htp/argsort-ops.c [new file with mode: 0644]
ggml/src/ggml-hexagon/htp/binary-ops.c
ggml/src/ggml-hexagon/htp/htp-msg.h
ggml/src/ggml-hexagon/htp/htp-ops.h
ggml/src/ggml-hexagon/htp/hvx-arith.h
ggml/src/ggml-hexagon/htp/hvx-base.h
ggml/src/ggml-hexagon/htp/hvx-copy.h
ggml/src/ggml-hexagon/htp/hvx-div.h [new file with mode: 0644]
ggml/src/ggml-hexagon/htp/hvx-sigmoid.h
ggml/src/ggml-hexagon/htp/hvx-sqrt.h
ggml/src/ggml-hexagon/htp/hvx-utils.h
ggml/src/ggml-hexagon/htp/main.c
ggml/src/ggml-hexagon/htp/sum-rows-ops.c [new file with mode: 0644]
ggml/src/ggml-hexagon/htp/unary-ops.c