Function: synchronize_event

C Prototype

aclError aclrtSynchronizeEvent(aclrtEvent event)

Python Function

ret = acl.rt.synchronize_event(event)

Function Usage

Blocks the current thread until all tasks captured in an event are completed. For more details, see acl.rt.record_event.

Input Description

event: int, event object pointer address to be waited for.

Return Value

ret: int, error code.

Restrictions

None

Reference

For details about the API call example, see Event Synchronization.