Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while Auto tuning for GPU using opencl "CL_OUT_OF_RESOURCES" #3992

Closed
eslambakr opened this issue Sep 23, 2019 · 1 comment
Closed

Comments

@eslambakr
Copy link

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

@tqchen
Copy link
Member

tqchen commented Sep 23, 2019

Let us consolidate to #3980 Since you are using rk3399, the mali target is the right one. For followup questions, please open a new thread on https://discuss.tvm.ai/

@tqchen tqchen closed this as completed Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants