已合并
编程指南同步 #3976
baixueyan创建于 7月3日
编程指南同步 #3976
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 baixueyan 的贡献)7月3日 添加了label:stat/needs-squash
7月3日 添加了label:cann-cla/yes
CANN-robot
7月3日 评论:
7月3日 评论:
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 |
|---|---|---|
| ** | ✅ munanhw, wulinyu (2/2) | ✅ munanhw (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
gcw_1m54gGxh, thanks for your pull request. All authors of the commits have signed the CLA. 👍


此处折叠了517条消息 查看更多
docs/guide/编程指南/编程模型/AI-Core-SIMT编程/内存层级.md
@@ -96,0 +99,4 @@
99+>
100+> 用户可选择禁用预留空间,禁用方法为:编译时增加[--cce-disable-vf-stack-reserved-ubuf](../../编译与运行/算子编译/AI-Core算子编译基本用法.md#ZH-CN_TOPIC_0000002462746461)选项。开启该选项后,编译器不再预留该部分UB空间,该空间可作为普通UB空间使用,Data Cache空间可按如下公式估算:
101+> ```
102+> Data Cache = min(UB大小(256KB) - 静态内存 - 动态内存 - 预留空间(8KB),128KB)
💡 [P2] [CR-5] 禁用预留空间后Data Cache公式仍减去预留空间(8KB),逻辑矛盾
NOTE说明中提到"禁用预留空间后,编译器不再预留该部分UB空间,该空间可作为普通UB空间使用",但紧接着的Data Cache公式仍为min(UB大小(256KB) - 静态内存 - 动态内存 - 预留空间(8KB), 128KB),即仍减去了预留空间8KB。如果预留空间已禁用并被释放为普通UB空间,公式中不应再扣除这8KB。建议修正为min(UB大小(256KB) - 静态内存 - 动态内存, 128KB)。
(此意见由AI提出,评审规则CR-5 约束三要素一致性。如有异议,请回复此评论,让我变得更好:)


7月20日 添加了label:lgtmapproved
7月20日 合入了pull request
描述
完成编程指南文档从master分支到9.1.0分支的同步工作
关联的Issue
测试
文档更新
类型标签