as a part of simplifying and optimization of our code we would like to use the same host pinned buffer across multiple devices, where:
1.) each device is a part of the same context with its own queue and all reads/writes over this buffer will be enqueued into the queue of only one device at the same time.
2.) same as 1 except that devices can be part of different contexts
The second variant is preferred since we would like to use more than one platform at time.
If none of this solution is correct or standard, is there any way how to achieve this ?