Hello,
I am trying to implement dlc model in an android app runing it on dsp.
However, when I set dsp as a runtime, the model does not return any output (while, it gives correct output on GPU and CPU runtime).
I have checked that the device has dsp module using snpe-platform-validator. Also, model runs perfectly fine when I tried snpe-net-run setting runtime as dsp.
Is there way to fix this problem?
Thank you
Hi,
Try specifying --use_dsp on your android target.
NOTE: The extra environment variable ADSP_LIBRARY_PATH must be set to use DSP.
Check the SNPE developer website for DSP RUNTIME ENVIRONMENT.
Thanks
Hello,
While testing snpe-net-run, I have read the DSP RUNTIME ENVIRONMENT page (Snapdragon Neural Processing Engine SDK: DSP Runtime Environment (qualcomm.com)) and I have set ADSP_LIBRARY_PATH.
The snpe-platform-validator gives "dsp device present" and it gives correct output on snpe-net-run.
While testing the dlc file on android project, I have checked that dsp is available using isRunTimeAvaliable and I have set ADSP_LIBRARY_PATH using code below.
bool SetAdspLibraryPath(std::string nativeLibPath) {
}
However, the model gives empty output.
is it possible some model to work only on snpe-net-run but not on android project?
Thank you
Hello,
While testing snpe-net-run, I have read the DSP RUNTIME ENVIRONMENT page (Snapdragon Neural Processing Engine SDK: DSP Runtime Environment (qualcomm.com)) and I have set ADSP_LIBRARY_PATH.
The snpe-platform-validator gives "dsp device present" and it gives correct output on snpe-net-run.
While testing the dlc file on android project, I have checked that dsp is available using isRunTimeAvaliable and I have set ADSP_LIBRARY_PATH using code below.
bool SetAdspLibraryPath(std::string nativeLibPath) {
}
However, the model gives empty output.
is it possible some model to work only on snpe-net-run but not on android project?
Thank you