已合并
更新 SPMD+SIMD/SIMT编程模型描述 #5938
ascendhjh创建于 26 天前
更新 SPMD+SIMD/SIMT编程模型描述 #5938
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 ascendhjh 的贡献)26 天前 关联了issue:
这里应该是 SIMT,不是 SPMD** #1573,**文档反馈-内容错误(正确性)-有一段对 SIMT 的全写错了,是Mutiple Threads。
SIMT核函数(Kernel)编程基本步骤(遵循SPMD模型)
SIMT的SPMD模型(Single Program, Multiple Data):每个线程运行同一份程序,但每个线程处理不同的数据元素。
Tiling(分块):建立线程索引与数据索引的一一对应关系。
数据搬入:通过指针直** #1643
26 天前 添加了label:cann-cla/yes
CANN-robot
26 天前 评论:
26 天前 评论:
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 |
|---|---|---|
| docs | ✅ munanhw, bianque (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
ascendhjh, thanks for your pull request. All authors of the commits have signed the CLA. 👍


26 天前 将zengjuan,zhanghao_0689,suqwe,wulinyu,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,yangbinhua,zhudi22,chenyiyuan,xun_zhuge,XuebinYang,sjtulxh,bianque,houyuyang,Lycheeeee,YANXI_ZHAO,chentianyu19,shi_nanxiang,wuyang_hw,jiangxinyu3,munanhw,ai_xin,hujiawen_kaven,wangxiaozhi,DragonBornHD84,louyuxuan,hyolee,yukangchen设为评审人
26 天前 将zengjuan,zhanghao_0689,suqwe,wulinyu,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,yangbinhua,zhudi22,chenyiyuan,xun_zhuge,XuebinYang,sjtulxh,bianque,houyuyang,Lycheeeee,YANXI_ZHAO,chentianyu19,shi_nanxiang,wuyang_hw,jiangxinyu3,munanhw,ai_xin,hujiawen_kaven,wangxiaozhi,DragonBornHD84,louyuxuan,hyolee,yukangchen设为评审人
26 天前 将bianque,munanhw,ai_xin设为审查人
CANN-robot
26 天前 评论:
26 天前 评论:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


26 天前 添加了label:ci-pipeline-running
26 天前 删除了label:ci-pipeline-running
26 天前 添加了label:ci-pipeline-passed
docs/zh/guide/programming_guide/programming_model/programming_model_overview.md
已过期
@@ -14,0 +14,4 @@
14+- **SPMD+SIMT**:将硬件抽象为Grid→Thread Block→Thread架构,以Thread为视角编程,关注每个Thread需处理的数据;
15+- **SPMD+SIMD/SIMT混合**:核函数本质遵循SPMD+SIMD,内部以向量函数(Vector Function, VF)为粒度进行SIMD与SIMT切换——SIMT VF抽象为一个SIMT Thread Block,内部基于Thread编程;SIMD VF内部直接调用SIMD指令。
16+
17+为简化表述,下文以 SIMD 和 SIMT 分别指代对应的编程模型。二者定义了指令驱动多计算单元协同工作的核心机制,是提升数据吞吐量、优化计算性能的关键技术,也是 Ascend C 编程的核心内容,下文将分别展开介绍。
此处折叠了6条事件消息 查看更多
21 天前 删除了label:ci-pipeline-passed
CANN-robot
21 天前 评论:
21 天前 评论:
CANN-robot
21 天前 评论:
21 天前 评论:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


21 天前 添加了label:ci-pipeline-running
21 天前 删除了label:ci-pipeline-running
21 天前 添加了label:ci-pipeline-passed
21 天前 添加了label:approved
21 天前 添加了label:lgtm
21 天前 合入了pull request
描述
更新SPMD+SIMD/SIMT编程模型描述。
关联的Issue
#1643
#1573
测试
文档更新
类型标签