Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
新增MTK MT8175 APU的支持,目前仅支持全量化MobileNetv1模型。
遗留问题
动态加载libneuron_adapter.so的相关文件存在大量冗余代码,建议仿照lite/backends/opencl/cl_wrapper.h和lite/opencl/cl_wrapper.cc,在/lite/backends/apu目录下实现neuron_wrapper.h和neuron_wrapper.cc。
或采用如下方案:PaddleLite+APU编译时链接到libneuron_adapter.so,但libneuron_adapter.so内部通过dlopen的方式加载其它库,这样就能避免cmake/device/apu.cmake设置更多系统库的依赖了