CANN/

hcomm

公开

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

494
代码Commits分支Pull Requests212讨论
提交4c1161c1
Iicecool_80创作于 13 天前·Lluomin2005提交于 9 天前
1 Parent(s):4b70818f
fix: 修复 legacy_alg_testcase 编译问题
1. mockcpp 编译问题:删除空的链接器标志设置
   - 移除 -DCMAKE_SHARED_LINKER_FLAGS=""
   - 移除 -DCMAKE_EXE_LINKER_FLAGS=""
   原因:空字符串参数导致链接器报错 "cannot find"

2. 添加全局头文件包含路径
   - 在 test/legacy/st/algorithm/CMakeLists.txt 中添加 include_directories()
   - 路径包括 ${HCOMM_ROOT_PATH}/include /include/hccl /include/hcomm
   - 确保所有子目录都能找到 hcomm_res_defs.h 等头文件

3. ARM NEON bfloat16_t 类型冲突
   - 在 aiv_base_stub.h 中添加 #ifndef __ARM_NEON 条件编译宏
   - 避免与 GCC 13 arm_neon.h 中的 bfloat16_t 定义冲突

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
浏览文件
master
共 0 个文件变更+0-0