Merge blocked
变更摘要
本 PR 仅对 examples/01_simd_cpp_api/04_advanced_api/10_math/isfinite/isfinite.asc 做格式层面的调整:在 main 函数的 aclInit(nullptr) 调用与后续设备、流初始化之间插入一个空行,使代码按逻辑块分隔的风格与同一函数中的其他部分保持一致。该改动不涉及任何接口、数据结构或执行语义的变化。按 PR 说明,此改动同时用于验证新 presmoke 流水线在 examples/ 目录下非 .md 文件被归类为 PKG 时的出包与执行路径。
主要改动
- 空行插入位置:在
main函数中aclInit(nullptr)之后、int32_t deviceId = 0;与aclrtSetDevice(deviceId)、aclrtStream stream = nullptr;之前新增一个空行,将初始化调用与设备/流初始化在视觉上分为两个逻辑块。 - 纯格式调整:该文件仅新增 1 行空白,
aclInit、aclrtSetDevice等接口调用顺序与参数均未变化,无任何行为或语义影响。


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 |
|---|---|---|
| examples | ❌ (0/2)(You can also ask: chentianyu19, changxianyu, XuebinYang, louyuxuan, hujiawen_kaven) | ❌ (0/1)(You can also ask: YANXI_ZHAO, munanhw, ai_xin, changxianyu, 黄金华) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
xun_zhuge, thanks for your pull request. All authors of the commits have signed the CLA. 👍


| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


改动内容
examples/01_simd_cpp_api/04_advanced_api/10_math/isfinite/isfinite.asc在aclInit与设备/流初始化之间补一个空行,与同一函数里其余按逻辑块分隔的写法保持一致。纯格式改动,一行,无语义变化。用途
本 PR 同时用于在 !7332 合入后验证新的 presmoke 流水线。
选择改
examples/下的 非.md文件是必要的,不是随意挑的。按scripts/util/parse_changed_files.py的分类规则:skip_keywords = [".md", "OWNERS", "LICENSE", "classify_rule.yaml", "docs"] pkg_keywords = ["examples"] # 子串匹配,skip 优先.md(哪怕在examples/下)SKIPbuild.shexit 200 不出包 →compile.sh兜底touch出一个空.run→ presmoke 下到 0 字节 →exit 0静默通过,一个用例都不跑examples/下非.mdPKGbuild_package,真出包,presmoke 真跑examples/的源码COMPILE已用仓内脚本实测本 PR 的分类结果为
PKG。另外确认过
run_presmoke.sh不读pr_filelist——--exact-filter列表来自 schedule 的分片文件,所以 presmoke 跑的是全量用例集,与本 PR 改了哪个样例无关。合入与否不影响功能,如评审认为不必要可直接关闭。