Merged
#66: 新增目标架构与构建环境选择 Concept #165
#66: 新增目标架构与构建环境选择 Concept #165
Merged
bianqueAdd on 15 days ago
bianqueCollaborators
15 days ago

Pull Request 说明

变更说明

  • 关联 Issue:#66
  • 主要改动:
    • 新增 knowledge/common/toolchains/concepts/ascendc_target_arch_and_build_env_selection.md,按产品型号核对已有官方 dav 架构映射,再确定 bisheng 的 --npu-arch=dav-<版本号>;明确 __NPU_ARCH__ 数值宏、具体工程 SoC 注册串和 Skill 输入 SOC_ARCH 不可互换。所引映射表没有给出 Kirin X90/9030 的 dav 编号,不从产品支持列表推测。
    • 区分 asc-ar-dev Skill 的 DEVKIT_PATH、CANN_PATH、SOC_ARCH、TASK_GOAL 解析约定与通用编译器要求;按固定来源说明环境变量探针、可复现的 bisheng hello_world.asc --npu-arch=dav-2201 -o demo 样例和 CMake 构建入口。示例架构必须依实际产品替换;.asc 可为 Device-only、Host-only 或混合代码。
    • 对照固定脚本限定 kernel_info_infer.py、compile_op.py、ascendc_compile_base.py、ascendc_compile_dfx.py 的可证明行为,区分参考资料中的 printf/assert 概述与编译/链接分支的源码证据,不推断全部产物或运行时调测必然生效。按环境解析、CMake 配置、源码收集/Device 编译、链接与元信息阶段解释失败信号;具体修复仍由相邻 Runbook 承担。
    • 同步 knowledge/common/index.md、knowledge/common/toolchains/index.md、knowledge/common/toolchains/concepts/index.md及当天知识日志;复用 master 已有的可选 route 结构正反测试。
  • 补充说明:处理决定为 create,范围只涉及这一张 Concept、必要导航和日志;可选 route 正反测试已由 master 提供;主要来源固定在 asc-devkit 提交 e680c34c09ba6919b3cebd2b7ec027f4ff6f0f22 的 Skill 参考、官方说明和构建脚本。不修改无关知识、治理规则或 Skill;未执行编译或运行时验证。

变更类型

验证

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for bianque's contribution.)
BbianqueCollaborators
15 days ago Created pull request, commit 59d95e39
CANN-robotCANN-robotCollaborators
15 days ago Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
15 days ago 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

✅ Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-cann/cannbot-knowledge ✅ wangsj0012, qq_41667743 (2/2) ✅ wangsj0012 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

bianque, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robotCollaborators
15 days ago Set qq_41667743,wangsj0012,jon_jin,zhanghz1,fafahan,zhengshencn_hwca,linghuis,OpSphere,xfwang_ecnu as approver
CANN-robotCANN-robotCollaborators
15 days ago Set qq_41667743,wangsj0012,jon_jin,zhanghz1,fafahan,zhengshencn_hwca,linghuis,OpSphere,xfwang_ecnu as approver
106 messages are collapsed here。 See more
CANN-robotCANN-robotCollaborators
10 days ago Added label: ci-pipeline-passed
汪超Collaborators
10 days ago Comments:

/lgtm

likedislike
wangshaojun
wangshaojunCollaborators
10 days ago Comments:

/approve

likedislike
CANN-robotCANN-robotCollaborators
10 days ago Added label: lgtmapproved
CANN-robotCANN-robotCollaborators
10 days ago Merged pull request