---
title: DestroyHcclComm
description: "backend为HCCL时，销毁通信域功能。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendtb/ascendtb_01_0309.html
sourcePath: /source/zh/canncommercial/900/API/ascendtb/ascendtb_01_0309.html
indexId: 8ac53f765b0aeb8d95884ca7e69e5ca2937137c611c6d93964fb65b9a6394d5864
---
# DestroyHcclComm

#### 功能说明

backend为HCCL时，销毁通信域功能。


#### 定义

```
namespace atb {
using void *HcclComm;
namespace Comm {
Status DestroyHcclComm(HcclComm comm);
}; // namespace Comm
} // namespace atb
```


#### 参数列表

| 成员名称 | 输入/输出 | 类型 | 默认值 | 描述 |
| --- | --- | --- | --- | --- |
| hcclComm | 输入 | HcclComm | nullptr | HCCL通信域指针。 |


#### 约束说明

只支持 Atlas A2 训练系列产品 / Atlas A2 推理系列产品 和 Atlas A3 推理系列产品 / Atlas A3 训练系列产品 。
