Merged
SIMT增加确定性计算样例 #7439
SIMT增加确定性计算样例 #7439
Merged
wulinyuAdd on 11 days ago
wulinyu
wulinyuCollaborators
11 days ago

描述

在以下目录新增了SIMT确定性计算样例:
examples/03_simt_api/02_features/01_api_features/05_deterministic_computation/deterministic_reduce

样例内容:

  • case 0: 使用浮点原子累加展示计算结果的不确定性;
  • case 1: 使用 UB 实现固定顺序的折半归约;
  • case 2: 使用 asc_shfl_down 实现三层蝶形归约;
  • 提供 Host 侧顺序累加的 golden 结果;
  • 多轮运行并比较 bit pattern 和 ULP;
  • 提供中英文 README 和配套示意图。

样例适配 Ascend 950PR&950DT,CANN 版本要求为 9.2.0 及以上。

关联的Issue

#2028

测试

样例功能验证OK
文档质检OK

文档更新

新增
examples/03_simt_api/02_features/01_api_features/05_deterministic_computation/deterministic_reduce

类型标签

  • [ x] 📝 docs: 文档更新
likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for wulinyu's contribution.)
wulinyuwulinyuCollaborators
11 days ago Created pull request, commit 088ea0d5
CANN-robotCANN-robotCollaborators
11 days ago Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
11 days ago 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.
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
examples ✅ 诸葛洵, louyuxuan (2/2) ✅ 诸葛洵 (1/1)
scripts ✅ 诸葛洵, louyuxuan (2/2) ✅ 诸葛洵 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

wulinyu, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robotCollaborators
11 days ago Set zengjuan,zhanghao_0689,suqwe,kong0808,dengjing_aoe,YeZZzzz1,yangbinhua,zhudi22,chenyiyuan,xun_zhuge,XuebinYang,sjtulxh,bianque,houyuyang,Lycheeeee,YANXI_ZHAO,chentianyu19,shi_nanxiang,wuyang_hw,jiangxinyu3,munanhw,ai_xin,ascendhjh,hujiawen_kaven,wangxiaozhi,DragonBornHD84,louyuxuan,changxianyu,hyolee,chenma,yukangchen as approver
CANN-robotCANN-robotCollaborators
11 days ago Set xun_zhuge,bianque,YANXI_ZHAO,munanhw,ai_xin,ascendhjh,changxianyu as approver
127 messages are collapsed here。 See more
CANN-robotCANN-robotCollaborators
7 days ago Added label: lgtmapproved
CANN-robotCANN-robotCollaborators
7 days ago Merged pull request
wulinyuwulinyuCollaborators
15 hours ago Deleted associated issue: [Requirement|需求建议]: 增加 SIMT 确定性计算归约样例
wulinyuwulinyuCollaborators
15 hours ago Associated issue: [算子开发][内测体验][AscendC][Requirement]: SIMT 原子操作确定性计算样例缺失
CANN-robotCANN-robotCollaborators
15 hours ago Removed label: ci-pipeline-passed