Using QNN 2.18.0 for SM8650 Platform.
Running as following:
./qnn-platform-validator --backend dsp --testBackend
Outputs:
PF_VALIDATOR: DEBUG: Calling PlatformValidator->setBackend
PF_VALIDATOR: DEBUG: Calling PlatformValidator->isBackendHardwarePresent
PF_VALIDATOR: DEBUG: Calling PlatformValidator->isBackendAvailable
PF_VALIDATOR: DEBUG: Should be able to access atleast one of libraries from : libc.so
PF_VALIDATOR: DEBUG: dlOpen successfull for library : libc.so
PF_VALIDATOR: DEBUG: Should be able to access atleast one of libraries from : libadsprpc_system.so,libcdsprpc_system.so,libadsprpc.so,libcdsprpc.so
PF_VALIDATOR: DEBUG: dlOpen successfull for library : libadsprpc.so
PF_VALIDATOR: DEBUG: dlOpen successfull for library : libcdsprpc.so
Backend DSP Prerequisites: Present.
PF_VALIDATOR: DEBUG: Calling PlatformValidator->backendCheck
PF_VALIDATOR: DEBUG: Should be able to access atleast one of libraries from : libc.so
PF_VALIDATOR: DEBUG: dlOpen successfull for library : libc.so
PF_VALIDATOR: DEBUG: Should be able to access atleast one of libraries from : libadsprpc_system.so,libcdsprpc_system.so,libadsprpc.so,libcdsprpc.so
PF_VALIDATOR: DEBUG: dlOpen successfull for library : libadsprpc.so
PF_VALIDATOR: DEBUG: dlOpen successfull for library : libcdsprpc.so
PF_VALIDATOR: DEBUG: Starting calculator test
PF_VALIDATOR: DEBUG: Loading sample stub: libQnnHtpV75CalculatorStub.so
PF_VALIDATOR: DEBUG: Successfully loaded DSP library - 'libQnnHtpV75CalculatorStub.so'. Setting up pointers.
PF_VALIDATOR: ERROR: -2 . Error while executing the sum function.
PF_VALIDATOR: ERROR: Please use testsig if using unsigned images.
PF_VALIDATOR: ERROR: Also make sure ADSP_LIBRARY_PATH points to directory containing skels.
Unit Test on the backend DSP: Failed.
QNN is NOT supported for backend DSP on the device.
*********** Results Summary ***********
Backend = DSP
{
Backend Hardware : Supported
Backend Libraries : Found
Library Version : Not Queried
Core Version : Not Queried
Unit Test : Failed
}
Set the ADSP_LIBRARY_PATH as:
/data/local/tmp/platformvalidator/dsp;/vendor/dsp/cdsp;/vendor/lib/rfsa/adsp;/vendor/dsp/adsp
Can anyone give some ideas?