Hey @jcf94,
I was looking into the opencl_device_type.cc file and noticed that depending on which context was used in the python code like (tvm.cpu, tvm.gpu, tvm.opencl) it chooses a device type and sets the dtype accordingly. When exactly is the dtype set to the CL_DEVICE_TYPE_ACCELERATOR, is there any way to specify it with the opencl context as opencl could be targeted to either cpu or gpu ? Also I have noticed that is is the init fucntion that is responsible for sending the device type to this function, but from what i have noticed it seems like there is no argument being passed when init is being called ? --- [Visit Topic](https://discuss.tvm.apache.org/t/how-does-tvm-choose-the-platform-and-device/7695/5) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/4daf3fe4424a9e3e1cf9570c8ef0be0ae1534fe290bb1e1c02d91499e9121833).