Queries whether the stream receives a specified event after the aclrtStreamWaitEvent call. If multiple streams wait for the same event, the event status queried by this API call is complete only after all the streams receive the event. This API is synchronous.
aclError aclrtQueryEventWaitStatus(aclrtEvent event, aclrtEventWaitStatus *status)
Parameter |
Input/Output |
Description |
|---|---|---|
event |
Input |
Event to query. |
status |
Output |
Pointer to the event status. |
0 on success; else, failure.