报错如下:
memAlloc: alloc mem(1536/4096/0/0x2) fail(Bad address)
_cmm_alloc: [CMM] alloc( 1536/0x1ad0e846/0x7390ab9850/4096/0/0/0x7320a45730) fail
[PT_MSG_ERROR] buf_info alloc fail!!
[PT_MSG_ERROR] [GetPatternInfo] Input Handler is not found.
[PatternWrapper] ctor create binary fail
memAlloc: alloc mem(308/4096/0/0x2) fail(Bad address)
_cmm_alloc: [CMM] alloc( 308/0x6e657265/0x666e49205550564d/4096/0/0/0x7320a45730) fail
[MVPUHostMemory] ctor invalid memory obj.
[neuron::platforms::mvpu_dev::MVPUMemoryMgr] Allocate() invalid host buffer.
[MVPU Device] PreprocessCompiledResult() alloc fail.
[MVPU Device] PreprocessCompiledResult() BufferPreAllocation failed.
解决办法:
将 vender/lib64 目录下的libapu_mdw.so、libapu_mdw_batch.so 以及以libmpvu 开头的.so 库拷贝到app的lib目录下