Forums - Snpe-release.aar can't support DSP runtime

3 posts / 0 new
Last post
Snpe-release.aar can't support DSP runtime
likai2
Join Date: 27 Dec 22
Posts: 24
Posted: Wed, 2023-03-15 05:59

Hi, I use

snpe 2.5.0.4052 SDK. My device is

Moto X40 Qualcomm 8Gen2

Android 13

I have import snpe-release.aar in my android app.

But when I run app, I can get CPU & GPU runtime, not DSP runtime. I run SDK's android sample app, result is same.

SNPE API document said: snpe-release.aar helps setting enviroment variable. Is it true?

How to get DSP runtime with snpe-release.aar? Thanks for help.

BTW, I run SDK's android native sample. After set ADSP & LD_LIBRARY env path manually, I can run native sample with DSP runtime. 

  • Up0
  • Down0
weihuan
Join Date: 12 Apr 20
Posts: 270
Posted: Sun, 2023-03-19 06:26

Dear developer,

What's Android SDK you used? Is larger than 30+ for you Android applications?

You can check the SNPE errors from adb logcat to review the messages.

BR.

Wei

  • Up0
  • Down0
likai2
Join Date: 27 Dec 22
Posts: 24
Posted: Sun, 2023-03-19 19:59

Dear weihuan,

Thanks for your reply.

I have found that SNPE 2.5.0 SDK can NOT get GPU & DSP runtime on Android SDK 31 and above.

On Android SDK 30 and below, SNPE 2.5.0 SDK (snpe-release.aar) does get GPU runtime, but still does NOT DSP runtime.

I have run SDK's Android sample, it can't get DSP runtime too.

Is SNPE 2.5.0 SDK(snpe-release.aar) supporting DSP runtime? If it is, how to enable DSP runtime on snpe-release.aar?

Please kindly help, thanks!

Best regards!

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