]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/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>
Fri, 12 Dec 2025 15:53:06 +0000 (17:53 +0200)
commit621cb871b393aafbf0facf694a01a1cf00cbab95
tree11c5ec066350c0bc7aa1cb14a8ed61ad6e9f550b
parent61e0b7ed48959323464985e2e149ba85588183af
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
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