Hi,
I could able to run GEMM utility examples(which are provided as part of SDK add on, present in this path C:\Qualcomm\Hexagon_SDK\4.2.0.2\addons\eAI\gemm_utility\sample_apps\conv_utility) on Hexagon Simulator.
But How to run these examples on target board?, there are no examples provided to run on target.
Somehow manged to get it working on target board by referring calculator example, but when i try to run on Snapdragon 888 HDK board(SM8350 HDK), I get below error. Hence my suspect is that does these libraries provided C:\Qualcomm\Hexagon_SDK\4.2.0.2\addons\eAI\binaries\gemm_utility\hexagon_sim\fixed32\hexagon_toolv84_v66\libgemm_utility.a, libeai.a and libenpu_fw.a suitable to only work with simulator. ?
***********************************************************************************************************************************
--------- beginning of main
--------- beginning of kernel
--------- beginning of system
11-24 04:45:44.931 8049 8052 V adsprpc : fastrpc_uprocess.c:715:0x485:132: fastrpc_uthread_create done for tidQ 0x7d, tidA 8052 (/frpc/f05c1260 VoiceExp), stack 0xD3A8D700 (size 16384), prio 192
11-24 04:45:44.932 8049 8052 V adsprpc : par.c:477:0x7f:132: no matching pending jobs, collect would deadlock
11-24 04:45:44.936 8049 8052 V adsprpc : par.c:242:0x482:132: thread_new_locked done with tidQ 0x7c, stack ptr 0xD3A0BAD0 (size 8192)
11-24 04:45:44.940 8049 8052 V adsprpc : par.c:214:0x7f:132: thread_run: exiting tidQ 0x7f, stack ptr 0xD3A094D0
11-24 04:45:44.940 8049 8052 V adsprpc : rtld.c:1391:0x80:132: RX VA 0x19600000 outside ELF segment
11-24 04:45:44.940 8049 8052 V adsprpc : mod_table.c:551:0x80:132: open_mod_table_open_dynamic: Module libVoiceExp_skel.so opened with handle 0xd3a09360
11-24 04:45:44.941 8049 8052 V adsprpc : stdout:1:0x80:132: 582576453m:-314906143s:1536036408ms @ 51 of hwd_devcfg_mem.c : HwdDevCfg_GetVirtAddress: create mem region failed (addr 2952794112) (size 65536)
11-24 04:45:44.941 8049 8052 V adsprpc : stdout:1:0x80:132:
11-24 04:45:44.941 8049 8052 V adsprpc : stdout:1:0x80:132: 0m:0s:0ms @ 173 of lpmla.c : lpmla_init: HW dev cfg failed obtaining virtual addr
11-24 04:45:44.942 1262 1324 V adsprpc : platform_qdi_driver.c:775:0x484:132: ############################### Process on aDSP CRASHED!!!!!!! ########################################
11-24 04:45:44.942 1262 1324 V adsprpc : platform_qdi_driver.c:775:0x484:132: --------------------- Crash Details are furnished below
***********************************************************************************************************************************
On target, to encapsulate your algorithms in a capi module is recommended.
You can pass your model from apps with a customization param.
There is a example in the audio addon \addons\audio\elite\examples\capi_v2_dummy_eai\