---
title: aclrtDestroyGroupInfo
description: "销毁aclrtGroupInfo类型的数据，释放相关的内存。只能销毁通过aclrtCreateGroupInfo接口创建的aclrtGroupInfo类型。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/aadgc/aclcppdevg_03_0052.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/aadgc/aclcppdevg_03_0052.html
indexId: 836344772cf30f1c82f305e4e89fdcf6878b335380cedb5fd66f3488d70da0b1105
---
# aclrtDestroyGroupInfo

#### 函数功能

销毁aclrtGroupInfo类型的数据，释放相关的内存。只能销毁通过aclrtCreateGroupInfo接口创建的aclrtGroupInfo类型。

Atlas 200/500 A2推理产品，不支持该接口。


#### 函数原型

aclError aclrtDestroyGroupInfo(aclrtGroupInfo *groupInfo)


#### 参数说明

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


#### 返回值说明

返回0表示成功，非零表示失败。
