Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Queries whether the tasks awaiting in an event are completed after acl.stream_wait_event call.
1 | aclError aclrtQueryEventWaitStatus(aclrtEvent event, aclrtEventWaitStatus *status) |
1 | status, ret = acl.rt.query_event_wait_status(event) |
Parameter |
Description |
|---|---|
event |
Int, pointer address of the event object to be queried. |
Return Value |
Description |
|---|---|
status |
Int, pointer address of the event status. For details, see aclrtEventWaitStatus.
|
ret |
Int, error code. 0 on success; else, failure. |
Events created by calling acl.rt.create_event_ex_with_flag cannot use this API.