Function: reset_overflow_status

C Prototype

aclError aclrtResetOverflowStatus(aclrtStream stream)

Python Function

ret = acl.rt.reset_overflow_status(stream)

Function Usage

Clears the overflow status of tasks on all streams in the current context. This API is asynchronous.

The Atlas 200/300/500 Inference Product does not support this API.

Input Description

stream: int, pointer address of a stream to deliver an overflow status clearing task.

Return Value

ret: int, error code.

Restrictions

This API is asynchronous. The API call delivers a task rather than executes a task.

After this API is called, call the synchronization API (for example, acl.rt.synchronize_stream) to ensure that the task is complete.