]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml-hexagon: add `hex_supported_buffer` for better buffer supported check (llama...
authornullname <redacted>
Sun, 23 Nov 2025 22:26:36 +0000 (06:26 +0800)
committerGeorgi Gerganov <redacted>
Thu, 11 Dec 2025 13:32:43 +0000 (15:32 +0200)
commit4f5b69279aa516fd333e59d6307ff78d08b7539b
treebab683143ebc92c8a025fc5c36a9b43f3fac20d7
parentf91be9392fd555ededb0fb90d9c2266925214305
ggml-hexagon: add `hex_supported_buffer` for better buffer supported check (llama/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
src/ggml-hexagon/ggml-hexagon.cpp
src/ggml-hexagon/htp/hvx-exp.c
src/ggml-hexagon/htp/hvx-inverse.c
src/ggml-hexagon/htp/hvx-utils.h