]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml-hexagon: graceful fallback for older socs where rpcmem_alloc2 and FASTRPC_GET_UR...
authorl3utterfly <redacted>
Thu, 6 Nov 2025 05:46:38 +0000 (13:46 +0800)
committerGitHub <redacted>
Thu, 6 Nov 2025 05:46:38 +0000 (21:46 -0800)
commit6db3d1ffe6d34e8becfe95cf2f109198a7154db3
tree4815b07fb041b836660cdb26d9216c4e5d571723
parent230d1169e5bfe04a013b2e20f4662ee56c2454b0
ggml-hexagon: graceful fallback for older socs where rpcmem_alloc2 and FASTRPC_GET_URI is unsupported (#16987)

* support older socs where FASTRPC_GET_URI is unsupported

* added graceful fallback when FASTRPC_GET_URI call fails

* use weak symbols instead of loading libcdsprpc.so dynamically

* Add weak pragma for rpcmem_alloc2

* Remove weak declaration for rpcmem_alloc2 in ggml-hexagon.cpp

Removed weak declaration for rpcmem_alloc2.

* Enforce ndev to 1 for archs below v75

Force ndev to 1 for SoCs architectures lower than v75.
ggml/src/ggml-hexagon/ggml-hexagon.cpp
ggml/src/ggml-hexagon/htp-utils.h