文件最后提交记录最后更新时间
支持Ascend950 mte atomic Co-authored-by: vector5<caobingjie@huawei.com> Co-authored-by: zhangyunqi<zhangyunqi5@huawei.com> Co-authored-by: QK_25415<zhuzhiming1@huawei.com> # message auto-generated for no-merge-commit merge: !283 merge mteatomic into master 支持Ascend950 mte atomic Created-by: vector5 Commit-by: zhangyunqi;vector5;QK_25415 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 支持Ascend950 mte atomic的以下接口和UT T aclshmemx_mte_atomic_fetch(gm T *src, int32_t pe); void aclshmemx_mte_atomic_set(gm T *dst, T value, int32_t pe); T aclshmemx_mte_atomic_compare_swap(gm T *dst, T cond, T value, int32_t pe); T aclshmemx_mte_atomic_swap(gm T *dst, T value, int32_t pe); void aclshmemx_mte_atomic_inc(gm T *dst, int32_t pe); void aclshmemx_mte_atomic_add(gm T *dst, T value, int32_t pe); T aclshmemx_mte_atomic_fetch_inc(gm T *dst, int32_t pe); T aclshmemx_mte_atomic_fetch_add(gm T *dst, T value, int32_t pe); ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #123--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> https://gitcode.com/cann/shmem/issues/220 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> A2验证ShmemAtomic ![image.png](https://raw.gitcode.com/user-images/assets/8546182/546614a6-b5e6-4124-97ea-b94023431719/image.png 'image.png') MteAtomic ![image.png](https://raw.gitcode.com/user-images/assets/8546182/c6eef612-3641-4bf6-a588-e3647ebbc7d0/image.png 'image.png') A5验证ShmemAtomic ![image.png](https://raw.gitcode.com/user-images/assets/8546182/0eb0a34a-4814-45b2-af42-7b467caeab4d/image.png 'image.png') MteAtomic ![image.png](https://raw.gitcode.com/user-images/assets/8546182/d8da0f93-294a-4fcd-a5ba-593aceaa7a06/image.png 'image.png') ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/shmem!2832 天前
feat: 新增 rdma atomic 语义的 logic 操作 Co-authored-by: simonkorl28<machuan6@huawei.com> # message auto-generated for no-merge-commit merge: !326 merge xscale-atomic-4 into master feat: 新增 rdma atomic 语义的 logic 操作 Created-by: simonkorl28 Commit-by: simonkorl28 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 1. 新增 rdma atomic 语义的 logic 操作相关低阶接口(逻辑运算,如 and, or, xor) 2. 新增 rdma atomic 语义的 logic 操作相关低阶接口对应 UT ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #123--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> [#234](https://gitcode.com/cann/shmem/issues/234) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 新增的 UT 运行通过 ![image.png](https://raw.gitcode.com/user-images/assets/8546182/d5931eb9-f27c-40c1-80c4-b33a595c3c9b/image.png 'image.png') 原始 RDMA UT 运行通过 ![image.png](https://raw.gitcode.com/user-images/assets/8546182/dffc501d-1345-44c6-8366-09d84e06b3cb/image.png 'image.png') 与云脉网卡相关的原子语义测试 UT 测试通过 ![image.png](https://raw.gitcode.com/user-images/assets/8546182/fa428e5e-17d6-4dbc-a83f-c90bf8e278de/image.png 'image.png') ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/shmem!32616 天前
适配aicpu,取消40个AIV限制 Co-authored-by: jiang-xinyu3<jiangxinyu3@hisilicon.com> # message auto-generated for no-merge-commit merge: !147 merge query_size into master 适配aicpu,取消40个AIV限制 Created-by: jiangxinyu3 Commit-by: jiangxinyu3;jiang-xinyu3 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #123--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> /home/jxy/shmem_jxy-query_size/examples/sdma 3467128 background process recorded 3467129 background process recorded 3467131 background process recorded 3467132 background process recorded 3467133 background process recorded 3467134 background process recorded 3467135 background process recorded 3467136 background process recorded Pe 7Finised !! Result Correct !! Pe 5Finised !! Result Correct !! Pe 3Finised !! Result Correct !! Pe 2Finised !! Result Correct !! Pe 6Finised !! Result Correct !! Pe 1Finised !! Result Correct !! Pe 4Finised !! Result Correct !! Pe 0Finised !! Result Correct !! [SUCCESS] demo run success in pe 1 [SUCCESS] demo run success in pe 5 [SUCCESS] demo run success in pe 4 [SUCCESS] demo run success in pe 7 [SUCCESS] demo run success in pe 3 [SUCCESS] demo run success in pe 2 [SUCCESS] demo run success in pe 6 [SUCCESS] demo run success in pe 0 wait process 3467128 done wait process 3467129 done wait process 3467131 done wait process 3467132 done wait process 3467133 done wait process 3467134 done wait process 3467135 done wait process 3467136 done root@hisi-hangzhou-ip69:notifywait$ rm -rf logs/* && bash run.sh -pes 8 -type int 3544418 background process recorded 3544419 background process recorded 3544420 background process recorded 3544421 background process recorded 3544422 background process recorded 3544423 background process recorded 3544424 background process recorded 3544425 background process recorded Pe 3 AllGather result in ptr_A after notify_wait: Pe 2 AllGather result in ptr_A after notify_wait: Pe 0 AllGather result in ptr_A after notify_wait: Pe 5 AllGather result in ptr_A after notify_wait: Pe 7 AllGather result in ptr_A after notify_wait: Pe 6 AllGather result in ptr_A after notify_wait: Pe 1 AllGather result in ptr_A after notify_wait: Pe 4 AllGather result in ptr_A after notify_wait: Pe 2 has 0 unexpected values. Pe 3 has 0 unexpected values. Pe 0 has 0 unexpected values. Pe 5 has 0 unexpected values. Pe 7 has 0 unexpected values. Pe 6 has 0 unexpected values. Pe 1 has 0 unexpected values. Pe 4 has 0 unexpected values. [SUCCESS] demo run success in pe 7 [SUCCESS] demo run success in pe 4 [SUCCESS] demo run success in pe 5 [SUCCESS] demo run success in pe 3 [SUCCESS] demo run success in pe 2 [SUCCESS] demo run success in pe 1 [SUCCESS] demo run success in pe 6 [SUCCESS] demo run success in pe 0 wait process 3544418 done wait process 3544419 done wait process 3544420 done wait process 3544421 done wait process 3544422 done wait process 3544423 done wait process 3544424 done wait process 3544425 done t@hisi-hangzhou-ip69:cmo$ bash run.sh -pes 8 -type int 3549967 background process recorded 3549968 background process recorded 3549969 background process recorded 3549970 background process recorded 3549971 background process recorded 3549972 background process recorded 3549973 background process recorded 3549974 background process recorded PE 6 Finised ! PE 4 Finised ! PE 0 Finised ! PE 2 Finised ! PE 1 Finised ! PE 5 Finised ! PE 3 Finised ! PE 7 Finised ! [SUCCESS] demo run success in pe 4 [SUCCESS] demo run success in pe 7 [SUCCESS] demo run success in pe 6 [SUCCESS] demo run success in pe 3 [SUCCESS] demo run success in pe 2 [SUCCESS] demo run success in pe 1 [SUCCESS] demo run success in pe 0 [SUCCESS] demo run success in pe 5 wait process 3549967 done wait process 3549968 done wait process 3549969 done wait process 3549970 done wait process 3549971 done wait process 3549972 done wait process 3549973 done wait process 3549974 done ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/shmem!1472 个月前
UDMA场景补齐AMO接口 Co-authored-by: YeZZzzz1<yezhenni1@huawei.com> # message auto-generated for no-merge-commit merge: !284 merge master into master UDMA场景补齐AMO接口 Created-by: YeZZzzz1 Commit-by: YeZZzzz1 Merged-by: cann-robot Description: ## 描述 UMDA场景补齐AMO接口,包括:fetch, set, swap, fetch inc, inc, fetch and, and, fetch or, or, fetch xor, xor ## 关联的Issue https://gitcode.com/cann/shmem/issues/199 https://gitcode.com/cann/shmem/issues/205 ## 测试 examples: put ![image.png](https://raw.gitcode.com/user-images/assets/8546182/a65b141e-6e0f-4aea-ba60-861b0352df91/image.png 'image.png') put signal ![image.png](https://raw.gitcode.com/user-images/assets/8546182/92f0405e-5489-4397-b60f-1946aedfa12f/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/8546182/1d1eec28-7f76-4239-b6eb-7198df80ea39/image.png 'image.png') FAA ![image.png](https://raw.gitcode.com/user-images/assets/8546182/cab44fdc-54d8-4399-9238-3ac61b2eb719/image.png 'image.png') CAS ![image.png](https://raw.gitcode.com/user-images/assets/8546182/822cc3ea-a87a-4227-aa43-d256a5055713/image.png 'image.png') fetch ![image.png](https://raw.gitcode.com/user-images/assets/8546182/bcd2662d-78f1-4750-8875-3b1db8cf0f5e/image.png 'image.png') set ![image.png](https://raw.gitcode.com/user-images/assets/8546182/1f2e5f4c-a4c2-46a7-a122-1772219b4867/image.png 'image.png') swap ![image.png](https://raw.gitcode.com/user-images/assets/8546182/9f9ee4e1-1916-4c97-be3b-ed89846168e6/image.png 'image.png') fetch inc ![image.png](https://raw.gitcode.com/user-images/assets/8546182/73a0aa4c-a13f-4419-9621-c77438aaa06f/image.png 'image.png') fetch and ![image.png](https://raw.gitcode.com/user-images/assets/8546182/80973f9a-4c74-4e47-9670-0f647faacbb9/image.png 'image.png') fetch or ![image.png](https://raw.gitcode.com/user-images/assets/8546182/b792e1d8-b3db-425a-a2ad-50e2ab5ef7f3/image.png 'image.png') fetch xor ![image.png](https://raw.gitcode.com/user-images/assets/8546182/ab98986f-cafe-467a-a29c-6ede9739f6e8/image.png 'image.png') uttests: ![image.png](https://raw.gitcode.com/user-images/assets/8546182/0b0defe1-0542-424e-b8c7-ea72e0fcf94f/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/8546182/082c6f2f-f7a2-484a-bd83-8c05801fa682/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/8546182/263d295a-b00d-4c81-bc25-f1badc2e523e/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/8546182/32b440df-c37c-4b48-b25f-cc8838c45823/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/8546182/ba0784ae-0a64-461f-bd04-36122f9c3ee3/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/8546182/754c52fd-385c-4234-98e1-c7fda364d97d/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/8546182/8dd015c8-7898-4fbf-ada7-d03a9b9b3699/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/8546182/88650c7c-4178-4d85-9b11-7e55ed2ef86f/image.png 'image.png') ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/shmem!2841 个月前