已合并
【PR】: 编程指南增加了context管理和兼容性处理章节 #2262
tingwood创建于 5月20日
【PR】: 编程指南增加了context管理和兼容性处理章节 #2262
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 tingwood 的贡献)CANN-robot
5月20日 评论:
5月20日 评论:
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
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| docs | ✅ 卢煜坤, 侯延保 (2/2) | ✅ 卢煜坤 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
tingwood, thanks for your pull request. All authors of the commits have signed the CLA. 👍


5月20日 添加了label:cann-cla/yes
此处折叠了5条事件消息 查看更多
5月20日 添加了label:stat/needs-squash
ykl999
5月20日 评论:
5月20日 评论:
/approve


5月20日 添加了label:lgtmapproved
CANN-robot
5月20日 评论:
5月20日 评论:
The following label is not ready.
ci-pipeline-passed: Please wait for the CI test to be completed.


5月20日 添加了label:ci-pipeline-running
CANN-robot
5月20日 评论:
5月20日 评论:
流水线任务触发成功
任务链接 [5699fb86bf8b43d889007aefb4317b09][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_ARM_ubuntu24 | ✅ SUCCESS | >>>>> | |
| codecheck_style | ✅ SUCCESS | >>>>> | |
| precommit | ✅ SUCCESS | >>>>> | |
| UT_Test_acl | ✅ SUCCESS | >>>>> | |
| UT_Test_rts_v201 | ✅ SUCCESS | >>>>> | |
| UT_Test_rts_c | ✅ SUCCESS | >>>>> | |
| UT_Test_rts_david | ✅ SUCCESS | >>>>> | |
| UT_Test_rts_910b | ✅ SUCCESS | >>>>> | |
| UT_Test_rts_common | ✅ SUCCESS | >>>>> | |
| UT_Test_platform | ✅ SUCCESS | >>>>> | |
| UT_Test_qs | ✅ SUCCESS | >>>>> | |
| UT_Test_aicpusd | ✅ SUCCESS | >>>>> | |
| UT_Test_tsd | ✅ SUCCESS | >>>>> | |
| UT_Test_error_manager | ✅ SUCCESS | >>>>> | |
| UT_Test_slog | ✅ SUCCESS | >>>>> | |
| UT_Test_atrace | ✅ SUCCESS | >>>>> | |
| UT_Test_msprof | ✅ SUCCESS | >>>>> | |
| UT_Test_adump | ✅ SUCCESS | >>>>> | |
| UT_Test_mmpa | ✅ SUCCESS | >>>>> | |
| API_Check | ✅ SUCCESS | >>>>> | |
| PreSmoke_A900_npupool | ✅ SUCCESS | >>>>> | |
| UT_Test_rts_report | ✅ SUCCESS | >>>>> |
[2026-05-20 19:57:25] CI执行结束


5月20日 添加了label:api-check-pass
5月20日 删除了label:ci-pipeline-running
5月20日 添加了label:ci-pipeline-passed
CANN-robot
5月20日 评论:
5月20日 评论:
5月20日 合入了pull request
Pull Request
描述
编程指南增加了context管理和兼容性处理章节
context管理:介绍context的概念,主要接口和使用方式及最佳实践
兼容性处理:介绍runtime接口的兼容策略,和上层应用如何通过查询runtime版本号或支持特性来实现应用前后向兼容处理
变更类型
请选择本次引入的变更类型:
关联的Issue
NA
如何测试
NA
核对清单
其他信息
在此添加任何其他关于本次 PR 的说明。