HcclCommConfigInit
产品支持情况
产品 |
是否支持 |
---|---|
√ |
|
x |
|
x |
|
√ |
|
√ |
|
x |

针对
功能说明
初始化通信域配置项,并将其中的可配置参数设为默认值。
函数原型
1 | inline void HcclCommConfigInit(HcclCommConfig *config) |
参数说明
参数名 |
输入/输出 |
描述 |
---|---|---|
config |
输出 |
需要初始化的通信域配置项。 HcclCommConfig类型的定义可参见HcclCommConfig。 |
返回值
无
约束说明
无
调用示例
以下仅为代码片段,不可执行,调用HCCL C接口进行集合通信操作的完整示例可参见样例代码。
1 2 | HcclCommConfig config; HcclCommConfigInit(&config); |
父主题: 通信域管理