---
title: aclopDestroyAttr
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendgraphapi/aclcppdevg_03_1503.html
sourcePath: /source/zh/canncommercial/900/API/ascendgraphapi/aclcppdevg_03_1503.html
indexId: 39c1388550333310467bc1c5719edeba40451bac1a361a15d628640dd17d66c972
---
# aclopDestroyAttr

#### 产品支持情况

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


#### 功能说明

销毁通过aclopCreateAttr接口创建的aclopAttr类型的数据。


#### 函数原型

```
void aclopDestroyAttr(const aclopAttr *attr)
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| attr | 输入 | 待销毁的aclopAttr类型指针。 |


#### 返回值说明

无
