Commit Graph

8 Commits

Author SHA1 Message Date
hongruichen 0301b500cd refactoring: prevent leak the QNN_INTERFACE_VER_TYPE and QNN_SYSTEM_INTERFACE_VER_TYPE outside of qnn.hpp 2024-07-17 00:18:38 +08:00
hongruichen e97d3a6c48 fix tensor buffer allocation
add log

commit qnn buffer after changed

add log

register_rpc_mem 2 times

update input tensors before graph finalize

default to QNN_TENSORMEMTYPE_RAW

set new tensors at execute

move write input tensors to exec

check if mem registered before actual do

register rpc mem once allocated
2024-07-10 19:32:39 +08:00
hongruichen af869fd636 fix compiling error in debug build 2024-07-10 00:23:51 +08:00
Hongrui Chen 5f2e3918f6 refactoring ggml_qnn_tensor 2024-07-09 19:58:46 +08:00
hongruichen 263ffa962e small opt of the qnn graph config init 2024-07-05 23:07:27 +08:00
hongruichen 13dc3a02c3 use qnn graph inside add and mul ops 2024-07-05 13:27:16 +08:00
hongruichen a688ed324b add op param to add_nodes 2024-07-05 13:07:48 +08:00
hongruichen ca0d999c2a add ggml_qnn_graph 2024-07-05 11:35:18 +08:00