So I am using device accelerator which uses opencl (pocl). Here when I try to 
run opencl code using tvm on this device I have to fetch the context here as 
tvm.cl() but it does not use the device type as accelerator unless I set the 
dtype  = CL_DEVICE_TYPE_ACCELERATOR, in the 
tvm/src/runtime/opencl/opencl_device_api.cc

So how do I set the dtype as accelerator without explicitly setting the dtype 
in the opencl_device_api.ccm which function takes these parameters and which 
files can I go through to find out how these parameters are set

([https://discuss.tvm.apache.org/t/how-does-tvm-choose-the-platform-and-device/7695/5?u=akhilj99](https://discuss.tvm.apache.org/t/how-does-tvm-choose-the-platform-and-device/7695/5?u=akhilj99))





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/tvm-opencl-context-how-to-choose-device-type-as-accelerator/7821/1)
 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/7895854d29ad15de4b4e396178e4856b095d7294d3bc423a7047e10764608f6a).

Reply via email to