| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
SIMT CPP API实现同步C API修改 && 补充数学类接口返回值说明 Co-authored-by: zhangshunwei2<zhangshunwei2@huawei.com> # message auto-generated for no-merge-commit merge: !4869 merge cpp_sync into master SIMT CPP API实现同步C API修改 && 补充数学类接口返回值说明 Created-by: zhangshunwei2 Commit-by: zhangshunwei2 Merged-by: cann-robot Description: ## 描述 同步 SIMT C++ API 中尚未跟随 C API 更新的实现。C API 行为保持不变,C++ API 以现有 C API 为基准,并补充对应测试和返回值说明。 ### 数学 API 修改 - CopySign:将正负号判断从 y > 0 调整为与 C API copysignf 相同的 y >= 0,统一 y 为正数、负数和零时的结果。 - NextAfter:同步 C API nextafterf 的 NaN 判断和零起点处理;x == 0 时根据 y 的方向返回正或负的最小非规格化数,x、y 同为零时保留 x。 - Norm:同步 C API normf 的四元素分组计算,使用最大绝对值缩放和 FMA 累加,覆盖非正维度、全零、NaN、Inf、完整分组及尾部元素。 - Rnorm:继续复用同步后的 Norm 结果计算倒数,使分组计算和特殊输入处理与 C API rnormf 一致。 - Yn:同步 C API ynf 的参数判断顺序,非法阶数、负输入和 NaN 优先返回 NaN;通用递推路径同步三路循环展开、倒数复用和缩放处理。 ### Warp API 修改 - WarpShflSync:新增 bfloat16_t、bfloat16x2_t 支持,并按 C API 调用方式将 srcLane 和 width 分别传给 __shfl。 - WarpShflUpSync:新增 bfloat16_t、bfloat16x2_t 支持,并将 delta 和 width 分别传给 __shfl_up。 - WarpShflDownSync:新增 bfloat16_t、bfloat16x2_t 支持,并将 delta 和 width 分别传给 __shfl_down。 - WarpShflXorSync:新增 bfloat16_t、bfloat16x2_t 支持,并将 laneMask 和 width 分别传给 __shfl_xor。 ## 关联的Issue 关联Issue [#1485](https://gitcode.com/cann/asc-devkit/issues/1485) 。 ## 测试 - SIMT CPU UT:227/227 通过。 - 覆盖 CopySign、NextAfter、Norm、Yn 的 C++ 同步行为及边界分支。 - 四个 Warp API 已通过 ASC 编译,包含 BF16 类型实例化和 width 参数传递。 ## 文档更新 - atanhf:补充定义域边界,明确 x=1、x=-1 和 |x|>1 时的返回值。 - log1pf:补充定义域边界,明确 x=-1、x<-1 和 x=+inf 时的返回值。 ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [x] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [x] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4869 | 1 个月前 | |
refactor: impl目录下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4211 merge br_codestyle_impl2 into master refactor: impl目录下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照/clang-format刷新impl下tensor_api、simt_api、utils目录的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4211 | 2 个月前 | |
refactor: impl目录下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4211 merge br_codestyle_impl2 into master refactor: impl目录下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照/clang-format刷新impl下tensor_api、simt_api、utils目录的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4211 | 2 个月前 | |
refactor: impl目录下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4211 merge br_codestyle_impl2 into master refactor: impl目录下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照/clang-format刷新impl下tensor_api、simt_api、utils目录的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4211 | 2 个月前 | |
新增 SIMT 协作组 grid_group Co-authored-by: louyuxuan<louyuxuan@huawei.com> # message auto-generated for no-merge-commit merge: !4795 merge master into master 新增 SIMT 协作组 grid_group Created-by: louyuxuan Commit-by: louyuxuan Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> Ascend C SIMT 协作组支持 grid_group,提供跨block 的同步能力,具体支持API: 1. this_grid() 2. bool is_valid() const 3. void sync() const 4. static unsigned long long thread_rank() 5. static unsigned long long block_rank() 6. static unsigned long long num_threads() 7. static unsigned long long num_blocks() 8. static dim3 dim_blocks() 9. static dim3 block_index() 10. static unsigned long long size() 11. static dim3 group_dim() ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> [#1391](https://gitcode.com/cann/asc-devkit/issues/1391) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> SIMT 二级冒烟验证 编写算子测试 grid_group 所有 api ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> docs/zh/api/README.md docs/zh/api/SIMT-API/SIMD_SIMT_hybrid_programming_intro/api_list.md docs/zh/api/SIMT-API/SIMT_programming_intro/api_list.md docs/zh/api/SIMT-API/cooperative_groups/cooperative_groups.md docs/zh/api/SIMT-API/cooperative_groups/cooperative_groups_intro.md docs/zh/api/SIMT-API/cooperative_groups/grid_group/block_index.md docs/zh/api/SIMT-API/cooperative_groups/grid_group/block_rank.md docs/zh/api/SIMT-API/cooperative_groups/grid_group/dim_blocks.md docs/zh/api/SIMT-API/cooperative_groups/grid_group/grid_group.md docs/zh/api/SIMT-API/cooperative_groups/grid_group/grid_group_constructor.md docs/zh/api/SIMT-API/cooperative_groups/grid_group/grid_group_intro.md docs/zh/api/SIMT-API/cooperative_groups/grid_group/group_dim.md docs/zh/api/SIMT-API/cooperative_groups/grid_group/is_valid.md docs/zh/api/SIMT-API/cooperative_groups/grid_group/num_blocks.md docs/zh/api/SIMT-API/cooperative_groups/grid_group/num_threads.md docs/zh/api/SIMT-API/cooperative_groups/grid_group/size.md docs/zh/api/SIMT-API/cooperative_groups/grid_group/sync.md docs/zh/api/SIMT-API/cooperative_groups/grid_group/thread_rank.md docs/zh/api/SIMT-API/cooperative_groups/sync.md ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4795 | 1 个月前 | |
refactor: impl目录下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4211 merge br_codestyle_impl2 into master refactor: impl目录下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照/clang-format刷新impl下tensor_api、simt_api、utils目录的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4211 | 2 个月前 | |
refactor: impl目录下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4211 merge br_codestyle_impl2 into master refactor: impl目录下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照/clang-format刷新impl下tensor_api、simt_api、utils目录的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4211 | 2 个月前 | |
refactor: impl目录下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4211 merge br_codestyle_impl2 into master refactor: impl目录下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照/clang-format刷新impl下tensor_api、simt_api、utils目录的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4211 | 2 个月前 | |
refactor: impl目录下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4211 merge br_codestyle_impl2 into master refactor: impl目录下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照/clang-format刷新impl下tensor_api、simt_api、utils目录的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4211 | 2 个月前 | |
refactor: impl目录下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4211 merge br_codestyle_impl2 into master refactor: impl目录下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照/clang-format刷新impl下tensor_api、simt_api、utils目录的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4211 | 2 个月前 | |
清理魔鬼数字告警 Co-authored-by: shaonaite<shaonaite@huawei.com> # message auto-generated for no-merge-commit merge: !4386 merge master into master 清理魔鬼数字告警 Created-by: shaonaite Commit-by: shaonaite Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 清理魔鬼数字告警 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4386 | 2 个月前 | |
refactor: impl目录下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4211 merge br_codestyle_impl2 into master refactor: impl目录下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照/clang-format刷新impl下tensor_api、simt_api、utils目录的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4211 | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 1 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |