Elliot Gorokhovsky <elliot.gorokhov...@gmail.com> writes:
> If I have multiple devices in my system, will elementWise automatically
> split the work between them? If not, what's the cleanest way to map over
> multiple devices?

What you might be able to do is create a context spanning both devices,
slice the vector, and then run the elementwise kernel on both
pieces. Whether or not what the implementation does in that case is
efficient is another question. If not, then you really have to do more
work by doing the partitioning manually.

Andreas

_______________________________________________
PyOpenCL mailing list
PyOpenCL@tiker.net
https://lists.tiker.net/listinfo/pyopencl

Reply via email to