Principles
Synchronization Mechanisms
The pyACL supports the following synchronization mechanisms:
- acl.rt.synchronize_event waits for an event to complete.
- acl.rt.synchronize_stream waits until all tasks in the given stream are completed.
- acl.rt.stream_wait_event blocks the execution of a specified stream until the specified event is completed. It allows multiple streams to wait for the same event to complete. For the API call sequence, see Inter-Stream Synchronization.
- acl.rt.synchronize_device waits until the device has completed all requested tasks. Waits for the device of the current context in the multi-device scenario.
Parent topic: Synchronous Wait