aclrtResetOverflowStatus

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

Description

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

Restrictions

  • This API is asynchronous. The API call delivers a task rather than executes a task. After this API is called, you need to call a synchronization API (for example, aclrtSynchronizeStream) to ensure that the task is complete. Otherwise, service exceptions (such as training or inference exception) or unknown situations (such as device link or card disconnection) may occur.

Prototype

aclError aclrtResetOverflowStatus(aclrtStream stream)

Parameters

Parameter

Input/Output

Description

stream

Input

Specifies a stream to deliver an overflow status clearing task.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.