---
title: 函数：reset_overflow_status
description: "| C函数原型 | aclError aclrtResetOverflowStatus(aclrtStream stream) |"
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/aadgp/aclpythondevg_01_0073.html"
---

# 函数：reset_overflow_status

| C函数原型 | aclError aclrtResetOverflowStatus(aclrtStream stream) |
| --- | --- |
| Python函数 | ret = acl.rt.reset\_overflow\_status(stream) |
| 函数功能 | 清除当前Context下所有Stream上任务的溢出状态。异步接口。 |
| 输入说明 | stream：int，指定Stream的指针地址，用于下发溢出状态复位任务。 |
| 返回值说明 | ret：int，错误码。 返回0表示成功。 返回其它值表示失败。 |
| 约束说明 | 本接口是异步接口，在调用之后，需调用acl.rt.synchronize\_stream接口阻塞应用程序运行，直到指定Stream中的溢出状态复位任务已完成。 |
