---
title: aclrtResetOverflowStatus
description: "清除当前Context下所有Stream上任务的溢出状态。异步接口。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/aadgc/aclcppdevg_03_0045.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/aadgc/aclcppdevg_03_0045.html
indexId: a652ca50803bfbac33b8ce43d7ef659c898aa3899a0a90e2c1327bc214e6c782105
---
# aclrtResetOverflowStatus

#### 函数功能

清除当前Context下所有Stream上任务的溢出状态。异步接口。


#### 约束说明

本接口是异步接口，在调用之后，需调用aclrtSynchronizeStream接口阻塞应用程序运行，直到指定Stream中的溢出状态复位任务已完成。


#### 函数原型

aclError aclrtResetOverflowStatus(aclrtStream stream)


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| stream | 输入 | 指定Stream，用于下发溢出状态复位任务。 |


#### 返回值说明

返回0表示成功，返回其它值表示失败。
