[quote="remotego, post:5, topic:6676"]
Could you explain a bit more on this multi-core parallelism requirement of 
OpenCL?
[/quote]

A typical opencl kernel looks like

```c
__kernel void helloworld(__global char* in, __global char* out)
{
        int num = get_global_id(0);
        out[num] = in[num] + 1;
}
```

, where get_global_id fetches the id of a global dimension, and kernel would 
utilize available hardware threads to compute along such dimension.

In addition, while OpenCL is originally designed to target general-purpose 
computing and the design of VTA is domain-specific, I think bridging OpenCL 
software stack into VTA hardware design would bring a lot of issues, and would 
degrade the actual performance.





---
[Visit 
Topic](https://discuss.tvm.ai/t/rfc-vta-support-for-cloud-devices-opencl-compatible/6676/8)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/8ceaf78f69d02e4ab56d629f7a170d77f79804bef384080160331891a65b1acd).

Reply via email to