]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml-hexagon: add `hex_supported_buffer` for better buffer supported check (#17212)
authornullname <redacted>
Sun, 23 Nov 2025 22:26:36 +0000 (06:26 +0800)
committerGitHub <redacted>
Sun, 23 Nov 2025 22:26:36 +0000 (14:26 -0800)
commitd5bc1ad11062563faa3e57320399c0938c4803fa
tree7f1081258e615d422ee446cd200809bdf2fba483
parent0c7220db56525d40177fcce3baa0d083448ec813
ggml-hexagon: add `hex_supported_buffer` for better buffer supported check (#17212)

* hexagon: add buffer support checks for hexagon sessions

* refactor: simplify buffer support checks in hexagon operations

* hexagon: update buffer support checks to use tensor structure

* refactor: streamline buffer initialization for DSP queue in hexagon operations

* refactor: simplify buffer initialization in DSP queue for hexagon operations

* refactor: optimize hex_supported_buffer function by fold expression

* wip

* refactor: simplify dspqueue_buffers_init function and its usage in hexagon operations

* fix: improve nan handling at hvx_vec_fast_sigmoid_fp32_guard

* refactor: optimize hvx_vec_inverse_fp32_guard for better nan handling

* refactor: update hvx_vec_fast_sigmoid_fp32_guard to use adjusted exponent limits

* refactor: modify hvx_vec_fast_sigmoid_fp32_guard to accept parameters for improved flexibility

* refactor: update hvx_vec_exp_fp32_guard to accept max_exp and inf parameters to save some instructions

* refactor: move hvx_vec_inverse_fp32_guard implementation to hvx-inverse.c for better perf
ggml/src/ggml-hexagon/ggml-hexagon.cpp
ggml/src/ggml-hexagon/htp/hvx-exp.c
ggml/src/ggml-hexagon/htp/hvx-inverse.c
ggml/src/ggml-hexagon/htp/hvx-utils.h