]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
hexagon: add fp16 support for binary ops: add,sub,mul,div (#20139)
authorYardenTal44 <redacted>
Fri, 6 Mar 2026 02:29:13 +0000 (04:29 +0200)
committerGitHub <redacted>
Fri, 6 Mar 2026 02:29:13 +0000 (18:29 -0800)
commit2b10b62677af99fcd07b69aa05561e499bb070dc
treed79f8b13a5e3aaa46e448221d54ce47d222040b2
parenta0ed91a442ea6b013bd42ebc3887a81792eaefa1
hexagon: add fp16 support for binary ops: add,sub,mul,div (#20139)

* hexagon: add fp16 support for binary ops: add,sub,mul,div

* hexagon: fix test-backend-ops failures for fp16 binary ops on older arches (<v79)

* hexagon: decide on n_threads (aka n_jobs) early to avoid overallocating scratchpad

* snapdragon: fix readme link

---------

Co-authored-by: Max Krasnyansky <redacted>
16 files changed:
README.md
ggml/src/ggml-hexagon/ggml-hexagon.cpp
ggml/src/ggml-hexagon/htp/act-ops.c
ggml/src/ggml-hexagon/htp/argsort-ops.c
ggml/src/ggml-hexagon/htp/binary-ops.c
ggml/src/ggml-hexagon/htp/cpy-ops.c
ggml/src/ggml-hexagon/htp/get-rows-ops.c
ggml/src/ggml-hexagon/htp/hvx-arith.h
ggml/src/ggml-hexagon/htp/hvx-base.h
ggml/src/ggml-hexagon/htp/hvx-div.h
ggml/src/ggml-hexagon/htp/hvx-inverse.h
ggml/src/ggml-hexagon/htp/rope-ops.c
ggml/src/ggml-hexagon/htp/set-rows-ops.c
ggml/src/ggml-hexagon/htp/softmax-ops.c
ggml/src/ggml-hexagon/htp/sum-rows-ops.c
ggml/src/ggml-hexagon/htp/unary-ops.c