Function: reset_event
C Prototype |
aclError aclrtResetEvent(aclrtEvent event, aclrtStream stream) |
|---|---|
Python Function |
ret = acl.rt.reset_event(event, stream) |
Function Usage |
Resets an event. Resets the event only after all tasks in the stream are completely executed. This API is asynchronous. |
Input Description |
event: int, pointer address of the event object to be reset. stream: int, pointer address of the stream object where the event is located. |
Return Value |
ret: int, error code.
|
Restrictions |
|
Parent topic: Event Management