Pull Request已成功合入, 合并人@CANN-robot
(感谢 LiuZonggu 的贡献)变更摘要
本次改动为文档更新,目标是提升仓库文档的易用性并同步中英文版本。主要围绕三类内容展开:在 QUICKSTART.md / QUICKSTART_en.md 中为运行样例命令统一补充 --soc 参数并说明其取值需与编译算子包时一致(否则可能报 error 161001,如 aclnnXxxGetWorkspaceSize failed),同时整合单算子/整库/离线编译等多场景编译指引;在 docs/zh/install/compile.md / docs/en/install/compile.md 新增 FAQ 章节,说明自定义 run 包安装权限不足的两种处理方式;在 CONTRIBUTING.md / CONTRIBUTING_en.md 与 docs/zh/install/dir_structure.md / docs/en/install/dir_structure.md 中补充 Tiling 交付件及 _tiling 命名约束说明,以披露此前未见于文档的编译约束。
主要改动
--soc参数说明补充:QUICKSTART.md与QUICKSTART_en.md中的运行样例命令统一增加--soc参数,并提示其取值须与编译算子包时保持一致,否则可能触发error 161001(如aclnnXxxGetWorkspaceSize failed)。- 多场景编译指引整合:
QUICKSTART.md/QUICKSTART_en.md章节开头整合单算子、整库、离线编译等场景的编译指引,并链接《build参数说明》与《源码构建指南》。 - 安装 FAQ 新增:
docs/zh/install/compile.md/docs/en/install/compile.md新增 FAQ 章节,说明安装自定义 run 包报权限不足的两种处理方式(推荐用--install-path安装到用户可写路径并加载set_env.bash,或使用sudo -E安装到系统 CANN 目录)。 - Tiling 交付件与命名约束披露:
CONTRIBUTING.md/CONTRIBUTING_en.md的算子最小交付件树补充可选的子场景 Tiling 文件${op_name}_tiling_${sub_case}.cpp/.h,并说明_tiling命名约束;docs/zh/install/dir_structure.md/docs/en/install/dir_structure.md的op_host目录树同步补充 Tiling 交付件说明及该命名约束。 - 目录结构文档链接:
CONTRIBUTING.md/CONTRIBUTING_en.md增加指向项目目录结构文档的链接,便于查阅交付件布局。


🤖 本次改动均为数据 / 生成 / 二进制文件(如测试用例、锁文件、媒体资源),没有可审查的代码逻辑,已跳过 AI 代码审查。


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 |
|---|---|---|
| repo-cann/ops-ras | ✅ yue-ma, 陈兴宇 (2/2) | ✅ yue-ma (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
LiuZonggu, thanks for your pull request. All authors of the commits have signed the CLA. 👍


流水线任务触发成功
任务链接 [05ab35a77198410d8b45b5571fb5e02d][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| PreSmoke_ATK_Test_A2 | ✅ SUCCESS | >>>>> |
[2026-09-17 17:05:46] CI执行结束


流水线任务触发成功
任务链接 [d2218668eb3a4c769122572c8039dc9d][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| UT_Test_ophost | ✅ SUCCESS | ||
| UT_Test_opapi | ✅ SUCCESS | ||
| API_Check | ✅ SUCCESS | >>>>> |
[2026-09-17 17:09:46] CI执行结束


流水线任务触发成功
任务链接 [e2bf3fe26085467790dcdb2921df72e6][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| PreSmoke_ATK_Test_A2 | ✅ SUCCESS | >>>>> |
[2026-09-17 17:23:06] CI执行结束


流水线任务触发成功
任务链接 [da029bc3a31547829a12be0304e6db8e][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| UT_Test_ophost | ✅ SUCCESS | ||
| UT_Test_opapi | ✅ SUCCESS | ||
| API_Check | ✅ SUCCESS | >>>>> |
[2026-09-17 17:25:07] CI执行结束


/lgtm


描述
完善本仓文档易用性(中英文版本同步修改):
--soc参数,并说明其取值须与编译算子包时一致,否则可能报error 161001(如aclnnXxxGetWorkspaceSize failed);章节开头整合多场景编译指引(单算子/整库/离线编译),链接《build参数说明》与《源码构建指南》。--install-path安装到用户可写路径并加载set_env.bash;或使用sudo -E安装到系统 CANN 目录)。${op_name}_tiling_${sub_case}.cpp/.h),增加指向项目目录结构文档的链接,并补充_tiling命名约束说明。_tiling命名约束。根因说明:
cmake/func.cmake通过file(GLOB ... *_tiling*.cpp)收集 Tiling 源文件参与编译,不含_tiling的文件不会被 glob 命中,因而静默不编译,该约束此前未在文档中披露。关联的Issue
https://gitcode.com/cann/ops-ras/issues/36
测试
文档更新
类型标签