已合并
#66: 新增 Device C++ 标准/语法限制与 Ascend C API 废弃接口发现、替换和重验两张 Runbook #160
#66: 新增 Device C++ 标准/语法限制与 Ascend C API 废弃接口发现、替换和重验两张 Runbook #160
已合并
bianque创建于 5 天前
bianque成员
5 天前

Pull Request 说明

变更说明

  • 关联 Issue:#66
  • 主要改动:
    • 新增 knowledge/ops/ascendc/runbooks/compilation/cpp_standard_support_and_syntax_restrictions.md:依据 asc-devkit 固定提交 e680c34c09ba6919b3cebd2b7ec027f4ff6f0f22 的 docs/zh/guide/technical_appendix/cpp_standard_support/overview.md 与 cpp_language_restrictions/general_restrictions.md,将 Device 默认标准校正为 C++17,补充 bisheng -std/--std 和 CMake CMAKE_ASC_STANDARD,并区分纯 SIMT 运行时递归、SIMD/SIMT 混合编程限制、POD kernel 入参、SIMT VF 地址空间和结构体限制。
    • 新增 knowledge/ops/ascendc/runbooks/compilation/deprecated_interface_detection_and_replacement.md:依据同一提交的 docs/zh/api/appendix/deprecated_interface.md 及配套 C API 文档,区分接口级废弃清单、基础 API 命名变更表和 ASC_DEPRECATED 声明告警;替换时按旧重载、产品范围和目标签名核对,并重新验证 asc_sync() 的全流水同步语义、编译、依赖顺序、数值和性能。
    • 更新 knowledge/ops/ascendc/runbooks/compilation/index.md,同步两张 Runbook 的中文摘要和直接导航;新增 logs/2026-10-28.md 记录本次知识内容。
  • 补充说明:固定来源提交为 e680c34c09ba6919b3cebd2b7ec027f4ff6f0f22;本次仅新增两张 compilation Runbook 并同步直属索引和当天日志,不修改治理规则、Skill、API 镜像或其他知识主题。来源包括上述 C++ 标准与语法文档、Lambda 表达式文档、废弃接口清单、命名变更表和 asc_sync() 接口文档。

变更类型

验证

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 bianque 的贡献)
Bbianque成员
5 天前 创建了 pull request,commit acf2dc14
CANN-robotCANN-robot成员
5 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
5 天前 评论:

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-robot成员
5 天前 将qq_41667743,wangsj0012,jon_jin,zhanghz1,fafahan,zhengshencn_hwca,linghuis,OpSphere,xfwang_ecnu设为评审人
CANN-robotCANN-robot成员
5 天前 将qq_41667743,wangsj0012,jon_jin,zhanghz1,fafahan,zhengshencn_hwca,linghuis,OpSphere,xfwang_ecnu设为审查人
此处折叠了97条消息 查看更多
CANN-robotCANN-robot成员
13 小时前 添加了label:ci-pipeline-passed
汪超成员
13 小时前 评论:

/lgtm

likedislike
wangshaojun
wangshaojun成员
13 小时前 评论:

/approve

likedislike
CANN-robotCANN-robot成员
13 小时前 添加了label:lgtmapproved
CANN-robotCANN-robot成员
13 小时前 合入了pull request