Merged
提供SIMT性能优化样例:访存合并,bank冲突 #1753
liuyi424Add on Apr 23
提供SIMT性能优化样例:访存合并,bank冲突 #1753
Merged
Merged fromliuyi424/asc-devkitbest_practice_matrixintocann/asc-devkitmaster
Pull Request has been successfully merged by CANN-robot.
(Thank you for liuyi424's contribution.)CANN-robot
Apr 23 Comments:
Apr 23 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
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| examples | ✅ ai_xin, wulinyu (2/2) | ✅ ai_xin (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
liuyi424, thanks for your pull request. All authors of the commits have signed the CLA. 👍


Apr 23 Added label: cann-cla/yes
Apr 23 Set zengjuan,zhanghao_0689,yanqingshang,wulinyu,zhuliangying,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,wqtshg_wt,yangbinhua,gao_dafa,chenyiyuan,xun_zhuge,ookkkkoo1122,bianque,houyuyang,YANXI_ZHAO,shi_nanxiang,wuyang_hw,munanhw,ai_xin,ascendhjh,DragonBornHD84,jiangZD as approver
Apr 23 Set zengjuan,zhanghao_0689,yanqingshang,wulinyu,zhuliangying,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,wqtshg_wt,yangbinhua,gao_dafa,chenyiyuan,xun_zhuge,ookkkkoo1122,bianque,houyuyang,YANXI_ZHAO,shi_nanxiang,wuyang_hw,munanhw,ai_xin,ascendhjh,DragonBornHD84,jiangZD as approver
Apr 23 Set xun_zhuge,bianque,YANXI_ZHAO,munanhw,ai_xin as approver
96 messages are collapsed here。 See more
May 14 Added label: lgtm
CANN-robot
May 14 Comments:
May 14 Comments:
May 14 Merged pull request
描述
本样例以矩阵转置为例,介绍基于Ascend C SIMT编程方式的性能调优思路。样例包含一个测试性能上限的基准版本以及3个逐步优化的kernel版本,从最基础的数据复制与直接转置开始,逐步引入UB中转、全局访存合并以及通过padding降低UB Bank冲突的优化方法,展示SIMT编程方式的调优思路。
关联的Issue
测试
文档更新
类型标签