Function: query_event_wait_status
C Prototype |
aclError aclrtQueryEventWaitStatus(aclrtEvent event, aclrtEventWaitStatus *status) |
|---|---|
Python Function |
status, ret=acl.rt.query_event_wait_status(event) |
Function Usage |
Queries whether the tasks awaiting in an event are completed after acl.stream_wait_event call. |
Input Description |
event: int, pointer address of the event object to be queried. |
Return Value |
status: int, pointer address of the event status. For details, see aclrtEventWaitStatus.
ret: int, error code.
|
Restrictions |
Events created by calling acl.rt.create_event_ex_with_flag cannot use this API. |
Parent topic: Event Management