I face the following error
tvm/src/runtime/module_util.cc:73: Check failed: ret == 0 (-1 vs. 0) : TVMError: Check failed: e == CL_SUCCESS: OpenCL Error, code=-5: CL_OUT_OF_RESOURCES
while auto-tuning for firefly rk3399 GPU following the tutorial for auto-tuning for mobile GPUs https://docs.tvm.ai/tutorials/autotvm/tune_relay_mobile_gpu.html
I changed the target from “opencl -device=mali” to “opencl”.
#target = tvm.target.create('opencl -device=mali')
target = tvm.target.create('opencl')
It seems the same problem descibed at #761
I faced this error while evaluating inference time cost, after the tuning process was finished.
BTW It works fine for target “opencl -device=mali”
target = tvm.target.create('opencl -device=mali')
after disabling the tophub as mentioned at #3980