RK3399 deploy compiled modules with c++ error

I fllow the c++ example of “http://nnvm.tvmlang.org/how_to/deploy.html”. I let the “int device_type = kDLOpenCL”.Then I run with these error.

[07:59:14] src/runtime/opencl/opencl_device_api.cc:213: Initialize OpenCL platform ‘ARM Platform’
[07:59:14] src/runtime/opencl/opencl_device_api.cc:238: opencl(0)=‘Mali-T860’ cl_device_id=0x7f9dffbdd8
terminate called after throwing an instance of ‘dmlc::Error’
what(): [07:59:15] src/runtime/graph/graph_runtime.cc:102: Check failed: ret == 0 (-1 vs. 0) [07:59:15] src/runtime/opencl/opencl_device_api.cc:100: Check failed: e == CL_SUCCESS OpenCL Error, code=-38: CL_INVALID_MEM_OBJECT

thank you for your help!

When the “int device_type = kDLCPU”, running is ok! Is the TVMArrayAlloc problem?

@daming5432 are you able to get this working?

I got the same issue. Anyone know how to solve this issue?

@daming5432 @titikid

is possible to share complete log or more information to analyze?