As an extension API of aclrtQueryEvent, queries whether the events recorded by aclrtRecordEvent (in or not in the same thread as this API) have been executed. This API is synchronous.
aclError aclrtQueryEventStatus(aclrtEvent event, aclrtEventRecordedStatus *status)
Parameter |
Input/Output |
Description |
|---|---|---|
event |
Input |
Event to query. |
status |
Output |
Pointer to the event status. |
0 on success; else, failure.