warp.synchronize_event#
- warp.synchronize_event(event)[source]#
Synchronize the calling CPU thread with an event recorded on a CUDA stream.
This function allows the host application code to ensure that a specific synchronization point was reached.
- Parameters:
event (Event) – Event to wait for.
- Raises:
RuntimeError – If graph capture is active on the event’s device, or if CUDA reports an error from outstanding work.