Forums - DSP runtime error on 845

3 posts / 0 new
Last post
DSP runtime error on 845
suntao2012
Join Date: 4 Mar 19
Posts: 4
Posted: Mon, 2019-05-06 02:03

1st, i download model by this command

cd $SNPE_ROOT 
python ./models/alexnet/scripts/setup_alexnet.py -a ./temp-assets-cache -d

2nd, i add "DSP" runtime in 

Quote:
$SNPE_ROOT/benchmarks/alexnet_sample.json 

3rd, I run by cmd 

python snpe_bench.py -c alexnet_sample.json -a

and everything is fine when I run it on Snapdragon 855, but when I ran it on 845, I got error on DSP runtime like this, any ideas?

2019-05-07 00:57:53,686 - INFO - snpe_bench: Running on DSP_timing
2019-05-07 00:57:53,686 - INFO - snpe_bench: Run 1
2019-05-07 00:58:08,846 - ERROR - snpe_bench: ['The selected runtime is not available on this platform. Continue anyway to observe the failure at network creation time.']
2019-05-07 00:58:08,846 - ERROR - snpe_bench: ['Detected Symphony redirected with a file, using standard error for all debugging output', '\x1b[36mA tf04d9494 /home/host/build/arm-android-gcc4.9/SecondParty/symphony/src/symphony/src/lib/internal/soc/qti_soc_freqs.h:28 Unable to read from /sys/class/kgsl/kgsl-3d0/gpu_available_frequencies\x1b[0m', '\x1b[36mA tf04d9494 /home/host/build/arm-android-gcc4.9/SecondParty/symphony/src/symphony/src/lib/internal/soc/topology.c:419 [WARNING] Unable to determine the GPU topology. All power control for GPU will be silently ignored.\x1b[0m', 'error_code=500; error_message=Target runtime is not available. No viable runtimes available.; error_component=Host Runtime; line_no=320; thread_id=-263351148']
2019-05-07 00:58:08,846 - WARNING - snpe_bench: Failed to perform benchmark for DSP_timing.
 
  • Up0
  • Down0
gesqdn-forum
Join Date: 4 Nov 18
Posts: 184
Posted: Tue, 2019-05-07 07:34

Hi,
Can you let us know, if you have followed the instructions from SNPE Document for DSP runtime environmnet setup.

  • Up0
  • Down0
suntao2012
Join Date: 4 Mar 19
Posts: 4
Posted: Sun, 2019-05-12 18:50

well, I followed the steps here https://developer.qualcomm.com/docs/snpe/benchmarking.html.

but the snpe_bench.py well generated android commands like this, so, i believe it had setup the DSP runtime env.

#!/system/bin/sh
export LD_LIBRARY_PATH=/data/local/tmp/snpebm/artifacts/arm-android-gcc4.9/lib:$LD_LIBRARY_PATH
export ADSP_LIBRARY_PATH="/data/local/tmp/snpebm/artifacts/arm-android-gcc4.9/lib/../../dsp/lib;/system/lib/rfsa/adsp;/usr/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp"
cd /data/local/tmp/snpebm/Alexnet
rm -rf output
/data/local/tmp/snpebm/artifacts/arm-android-gcc4.9/bin/snpe-net-run --container bvlc_alexnet.dlc --input_list target_raw_list.txt --output_dir output --use_dsp --userbuffer_tf8 --perf_profile high_performance --profiling_level basic
 

 

  • 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.