I have a question regarding CV model deployment on G520 (MT8371).
I have a super-resolution (SR) model and would like to deploy it on DLA and integrate the inference process into a C++ application.
My questions are:
For CV dla model deployment on MT8371, do I need an MT8371-specific platform folder in the NeuroPilot SDK for DLA compilation and runtime integration? In neuropilot-sdk-basic-8.0.11-build20260211, I only found host platform and device platforms (mt6878 / mt6897 / mt6899 / mt6989 / mt6991). How to get MT8371 files if its necessary?
Is there any related demo, sample code, or reference implementation showing how to integrate DLA inference into a C++ application?
Currently, the examples I can find only demonstrate running the converted DLA model directly using NeuronRT. I could not find examples showing how to call DLA inference APIs and integrate them into a C++ project.
Any guidance or example code would be highly appreciated.
I want to run DLA using the code above. The DLA model has already been successfully running with NeuronRT before.
The current deployment method is to build an APK with Android Studio and link the two shared libraries, neuron_runtime.so and neuron_adapter.so, into the APK.
However, when I run the APK, I get an error. It looks like the app cannot link to the system shared libraries (the .so files are located under /vendor/lib64).
Is this caused by permission restrictions? How should I correctly link or load these system .so libraries in the APK?
D [process] NeuronRuntime_create ret=0
E dlopen failed: library "libapu_mdw.so" not found
E dlopen failed: library "libapu_mdw_batch.so" not found
E Load APUSys shared library failed.
E APUSysEngine initialization failed.
W Cannot create device for APUSYS_2_0
W Found an unsupported target: APUSYS_2_0
W Fail to revise dla::CompiledResult
W Fail to preprocess dla::CompiledGraph
W Fail to preprocess dla::CompiledNetwork
E Cannot prepare execution.
E Successfully open network but cannot start execution.
E NeuronRuntime_loadNetworkFromFile fails: Cannot load network
D [process] loadNetwork ret=4