---
title: HccnRpingDeinit
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/rpingdev/hccnrpingapi_07_0003.html
sourcePath: /source/zh/canncommercial/900/others/rpingdev/hccnrpingapi_07_0003.html
indexId: 63b2302076d84e75a48c6553e32cc8d7cfd9923f6678c677a54c6122db32c2c871
---
# HccnRpingDeinit

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | √ |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | ☓ |
| Atlas 推理系列产品 | ☓ |
| Atlas 训练系列产品 | ☓ |


#### 功能说明

释放内存资源。


#### 函数原型

```
HccnResult HccnRpingDeinit(HccnRpingCtx rpingCtx)
```


#### 参数说明

| 参数名 | 输入/输出 | 描述 |
| --- | --- | --- |
| rpingCtx | 输入 | 需要释放的RPing对象的指针。 HccnRpingCtx类型的定义可参见HccnRpingCtx。 |


#### 返回值

HccnResult类型错误码的解析结果。


#### 约束说明

- 该接口会主动释放资源，若入参rpingCtx指向为空可能会触发异常。
- 该接口需要与  HccnRpingInit
接口配对使用，调用此接口前，需要确保已成功调用过  HccnRpingInit
接口完成初始化。
- 该接口不支持重复调用。
