]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
hexagon: add fp16 support for binary ops: add,sub,mul,div (llama/20139)
authorYardenTal44 <redacted>
Fri, 6 Mar 2026 02:29:13 +0000 (04:29 +0200)
committerGeorgi Gerganov <redacted>
Sun, 15 Mar 2026 19:50:13 +0000 (21:50 +0200)
commitf6e3d40c0827267475ec16dd2d4b8775158c8a0a
tree52ed3dee5c3359407d11830b6ca9b1311d0d9ff7
parent4b496bb9f77608943db512b3674026089ed525f2
hexagon: add fp16 support for binary ops: add,sub,mul,div (llama/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>
15 files changed:
src/ggml-hexagon/ggml-hexagon.cpp
src/ggml-hexagon/htp/act-ops.c
src/ggml-hexagon/htp/argsort-ops.c
src/ggml-hexagon/htp/binary-ops.c
src/ggml-hexagon/htp/cpy-ops.c
src/ggml-hexagon/htp/get-rows-ops.c
src/ggml-hexagon/htp/hvx-arith.h
src/ggml-hexagon/htp/hvx-base.h
src/ggml-hexagon/htp/hvx-div.h
src/ggml-hexagon/htp/hvx-inverse.h
src/ggml-hexagon/htp/rope-ops.c
src/ggml-hexagon/htp/set-rows-ops.c
src/ggml-hexagon/htp/softmax-ops.c
src/ggml-hexagon/htp/sum-rows-ops.c
src/ggml-hexagon/htp/unary-ops.c