Function: query_event
This API will be deprecated in future releases. Use Function: query_event_status instead.
C Prototype |
aclError aclrtQueryEvent(aclrtEvent event, aclrtEventStatus *status) |
|---|---|
Python Function |
status, ret = acl.rt.query_event(event) |
Function Usage |
Queries whether the events recorded by acl.rt.record_event in the same thread as this API are executed. |
Input Description |
event: int, pointer address of the event object to be queried. |
Return Value |
status: int, pointer address of the event status.
ret: int, error code.
|
Restrictions |
None |
Parent topic: Event Management