Check failed:allow_missing ==false :device API gpu is not enabled

You need to use tvm.cl(0) for opencl target. Or better: tvm.context(target, 0)