已合并
fix(examples): resolve Ain: basic_ring #276
chen_xu0513创建于 15 天前
fix(examples): resolve Ain: basic_ring #276
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 chen_xu0513 的贡献)15 天前 创建了 pull request,commit ad466771
atomgit-bot
15 天前 评论:
15 天前 评论:
变更摘要
本 PR 针对 src/aicore/ain/impl/ain_impl_def.h 进行头文件整理,将原先在本文件中就地定义的 HcommWindow、HcommTeamSyncMem、HcommTeam 等结构体及其相关依赖头文件移除,改为统一引用 hcomm/hcomm_team_entity_defs.h,使 AIN 实现层不再重复维护通信实体相关的类型定义,而是复用公共的实体定义头文件。
主要改动
- 移除本地结构体定义: 删除了
HcommWindow(含netWin、lsaWin等窗口字段)、HcommTeamSyncMem(含remoteMems、syncMemReq等同步内存字段)以及HcommTeam(含engine、memberNum、selfMemberId、channelsBaseAddr、syncMem等团队描述字段)三处typedef struct定义。 - 调整头文件依赖: 去除了
hcomm_res_defs.h与hcomm_team_defs.h两个#include,仅保留hcomm/hcomm.h。 - 引入统一实体定义头文件: 新增
#include "hcomm/hcomm_team_entity_defs.h",由该头文件为上述被删除的结构体提供类型来源。


不准确?
atomgit-bot
15 天前 评论:
15 天前 评论:
15 天前 添加了label:cann-cla/yes
CANN-robot
15 天前 评论:
15 天前 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| examples | ✅ YeZZzzz1, 苏建加 (2/2) | ✅ YeZZzzz1 (1/1) |
| src | ✅ YeZZzzz1, 苏建加 (2/2) | ✅ YeZZzzz1 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
chen_xu0513, thanks for your pull request. All authors of the commits have signed the CLA. 👍


CANN-robot
15 天前 评论:
15 天前 评论:
15 天前 修改了pull request 的描述
15 天前 预合并成功(commit_id: 1ffb00cee084fd7b454b5bae82544b6bdc279a27)
15 天前 强制推送 1 个提交:dade055c-update ain example
15 天前 预合并成功(commit_id: 64c1ab652b333ee2249bb5632cd77c43cd760213)
15 天前 删除了label:cann-cla/yes
15 天前 添加了label:cann-cla/yes
chen_xu0513
15 天前 评论:
15 天前 评论:
compile


15 天前 预合并成功(commit_id: d9c2628fc8d2cea190970a0d33ca6c6e4a00011a)
15 天前 修改了pull request 的描述
CANN-robot
15 天前 评论:
15 天前 评论:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


15 天前 添加了label:ci-pipeline-running
此处折叠了5条事件消息 查看更多
15 天前 修改了pull request 的描述
suqwe
15 天前 评论:
15 天前 评论:
/lgtm


15 天前 添加了label:lgtmapproved
15 天前 合入了pull request
当前PR是否有AI参与:
[x] 否
[ ] 是
__1. AI Agent 平台:
__2. AI 模型:
__3. Prompt上下文 :
PR功能描述 / 为什么需要这个合入**:
删除ain_impl_def.h中冗余的临时结构体,并修正样例的cmake文件,以解决头文件hcomm_res_defs.h找不到的问题
该PR关联的issue
fixes#90(格式为fixes #<issue号>, 或者resolves #<issue号>): fixes #
希望检视人员了解:
改动类型 / Change Type
测试信息 / Testing
检查清单 / Checklist