Open
docs: align API prototypes with implementation #97
SuneeAdd on Oct 24
docs: align API prototypes with implementation #97
Open
Merge blocked
Oct 24 Modify description of pull request
Oct 24 Added label: cann-cla/yes
CANN-robot
Oct 24 Comments:
Oct 24 Comments:
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
⚠️ This PR does not yet meet the following requirements:lgtm (requires ≥ 2 person(s) per module)、approve (requires ≥ 1 person(s) per module)
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/atvoss | ❌ (0/2)(You can also ask: jia0liang, 王瑞, 王林木, 周奇龙, 顾宝成) | ❌ (0/1)(You can also ask: jia0liang, 王瑞, 王林木, 周奇龙, 冯彤) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
Sunee, thanks for your pull request. All authors of the commits have signed the CLA. 👍


Oct 24 Set zhou-qilong,wangrui_,rxtfeng,loov1,jia0liang,llimwang,gubaocheng as approver
Oct 24 Set zhou-qilong,wangrui_,rxtfeng,loov1,jia0liang,llimwang,gubaocheng as approver
Sunee
Oct 24 Comments:
Oct 24 Comments:
compile


Oct 24 Added label: ci-pipeline-running
CANN-robot
Oct 24 Comments:
Oct 24 Comments:
流水线任务触发成功
任务链接 [58c10b2108ea47b293a1406b8940c078][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| cocheck_codestyle | ✅ SUCCESS | ||
| precommit | ✅ SUCCESS | >>>>> | |
| UT_Test | ✅ SUCCESS | ||
| ST_Test | ✅ SUCCESS | ||
| API_Check | ✅ SUCCESS | >>>>> |
[2026-10-24 10:08:44] CI执行结束


Oct 24 Added label: api-check-pass
Oct 24 Removed label: ci-pipeline-running
Oct 24 Added label: ci-pipeline-passed
描述
使
docs/api两处函数原型与实际实现逐字一致:docs/api/BaseKernelSchedule_Run.md:原型写作aicore inline void Run(...),实现(include/elewise/kernel/schedule.h:118)为__aicore__ inline void Run(...)。文档缺少双下划线,照写会编译失败。更正为__aicore__。docs/api/PlaceHolderTmpLike.md:原型写作PlaceHolderTmpLike(Expression),实现(include/expression/expr_template.h:594)为PlaceHolderTmpLike(Expression<L> /*unused*/)。文档缺少模板参数,形参类型不完整。更正为Expression<L>。仅修正文档原型,未改动实现逻辑。
关联的Issue
Fixes #71
测试
include/elewise/kernel/schedule.h:118确认为__aicore__ inline void Run(OpParam& cfg, Args... args)。include/expression/expr_template.h:594确认为PlaceHolderTmpLike(Expression<L>)(模板参数L已在上方template <std::size_t N, typename T = void, typename L>声明)。文档更新
更新
docs/api/BaseKernelSchedule_Run.md、docs/api/PlaceHolderTmpLike.md。类型标签