CANN/

hcomm

公开

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

496
代码Commits分支Pull Requests213讨论
已合并

fix log#1640

Innoecho创建于 17 天前从fix_log合入到master
讨论48提交1检查0文件改动13

合并人

未指定
I
Innoecho17 天前创建

描述

修复日志级别使用错误和字符串打印问题:

  1. 将 HCCL_DEBUG 改为 HCCL_INFO,因为该日志应在正常流程中打印
  2. 修复 tag 打印时未调用 c_str() 的问题

Add unit tests for HCCL SQCQ V1 and V2 functionalities

  • Implemented unit tests for the HCCL SQCQ V1 in ut_aicpu_hccl_sqcqv1.cc, covering various scenarios such as RDMA DB send, notify wait, record, and memcpy operations.
  • Added unit tests for the HCCL SQCQ V2 in ut_aicpu_hccl_sqcqv2.cc, including tests for notify wait, record, write value, and event operations.
  • Each test verifies the expected behavior and correctness of the SQE structures and their fields.
  • Ensured proper setup and teardown for the test cases to maintain isolation and integrity of tests.

关联的Issue

NA

测试

未涉及功能改动,仅日志级别和格式调整

文档更新

未涉及文档更新

类型标签

  • Bug修复
  • 新特性
  • 性能优化
  • 文档更新
  • 其他,请描述:
Pull Request已成功合入, 合并人 @cann-robot
(感谢 Innoecho 的贡献)