Forums - App integration error

3 posts / 0 new
Last post
App integration error
MarkWu
Join Date: 8 May 22
Posts: 37
Posted: Thu, 2023-05-18 20:12

Hi,

I tested SNPE on the Xiaomi 10 (SM8250) phone and found a strange phenomenon.

I use GPU to infer the SNPE model in the shell, which is normal, but using GPU to infer the SNPE model in the app will result in an error:

E/SNPE-DebugLog: 10:56:13.927940 [USER_ERROR:DNN_RUNTIME] GPU ERROR: 10029
E/SNPE-DebugLog: 10:56:13.927965 [USER_ERROR:DNN_RUNTIME] GPU ERROR: 10029
E/SNPE-DebugLog: 10:56:13.928327 [USER_ERROR:DNN_RUNTIME] GPU ERROR: 10029
E/SNPE-DebugLog: 10:56:13.928334 [USER_ERROR:DNN_RUNTIME] QNN ERROR: 1006
E/SNPE-DebugLog: 10:56:13.931076 [USER_ERROR:DNN_RUNTIME] GPU ERROR: 10029
E/SNPE-DebugLog: 10:56:13.931108 [USER_ERROR:DNN_RUNTIME] GPU ERROR: 10029
E/SNPE-DebugLog: 10:56:13.931506 [USER_ERROR:DNN_RUNTIME] GPU ERROR: 10029
E/SNPE-DebugLog: 10:56:13.931518 [USER_ERROR:DNN_RUNTIME] QNN ERROR: 1006
By the way, i set " <uses-native-library android:name="libOpenCL.so" android:required="true" " in AndroidManifest.xml.
 
BR.
  • Up0
  • Down0
weihuan
Join Date: 12 Apr 20
Posts: 270
Posted: Fri, 2023-05-19 06:05

Dear developer,

What's SNPE version you tested?

From your issue mentioned, you execute model on JAVA .aar package, right?

BR.

Wei

  • Up0
  • Down0
MarkWu
Join Date: 8 May 22
Posts: 37
Posted: Sun, 2023-05-21 19:05

Hi,

I used:

c++

SNPE version : 2.9

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