Forums - Running GEMM utility example on Snapdragon 888 HDK board

2 posts / 0 new
Last post
Running GEMM utility example on Snapdragon 888 HDK board
bcorrea
Join Date: 25 Jun 20
Posts: 3
Posted: Sun, 2021-10-03 23:13

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 

 

***********************************************************************************************************************************

 

 

 

  • Up0
  • Down0
qingshen
Join Date: 4 Nov 15
Posts: 9
Posted: Tue, 2022-01-04 18:10

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\

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.