Converge GpuEventSynchronizer and CommandEvent
CommandEvent
is used as a platform-agnostic alias for the device events (currently only used properly in OpenCL, where all operations are connected to cl_event
). GpuEventSynchronizer
is a class that can explicitly mark an event and enqueue a wait on it. These should converge to something more consistent, probably after the GpuEventSynchronizer
is refactored and stabilized. CommandEvent
->DeviceEvent
can be made into a container that is passed through CPU code, all the event synchronization logic can go from GpuEventSynchronizer
into the DeviceStream
.