CANN/

hcomm

公开

HCOMM(Huawei Communication)是HCCL的通信基础库,提供通信域以及通信资源的管理能力。

496
代码Commits分支Pull Requests212讨论
提交7ed3cadb
ZZhang Zhanbang创作于 2 个月前·Zzhangzhanbang提交于 2 个月前
1 Parent(s):c1e7107d
重构:CommAddrToString 使用 std::string 避免手动内存管理
主要改动:
- 将 CommAddrToString 返回类型从 char* 改为 std::string
- 移除 malloc/free 调用,使用 std::array 和 std::string
- 添加地址类型前缀(如 "[IPv4]", "[IPv6]", "[ID]", "[EID]")
- 简化 PrintCommAddr 错误处理逻辑
- 扩展 Channel 错误信息表格,显示本地和远端地址详细信息

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
浏览文件
master
共 0 个文件变更+0-0