pyopencl
pyopencl copied to clipboard
Array event management: Support concurrent operations
- Add
Array.concurrent_view()which creates a view with a copy of the.eventslist. - Add
Array.join_concurrent_view()to re-join those control flows.
Concurrent access to a single buffer is ill-formed in OpenCL 1, but allowed with fine- and coarse-grain SVM in OpenCL 2. So this is only relevant after #220.