Device Synchronization ?

Hi,

I am trying to explore the extent of task level parallelism that can be achieved using OpenCL.

Is it possible to have a pipeline of tasks across devices ? I am trying to figure out if there is a way to accomplish synchronization between two devices without the intervention of the host.

thanks,
Amrit

Is it possible to have a pipeline of tasks across devices ?

You can enqueue commands in one device that depend on commands in a different device… as long as both devices are associated with the same OpenCL context.

I am trying to figure out if there is a way to accomplish synchronization between two devices without the intervention of the host.

That’s a different thing :slight_smile: What I described above may or may not involve the host under the hood.