| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor: 刷新capi代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4224 merge br_codestyle_capi into master refactor: 刷新capi代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照clang-format刷新impl/capi代码格式。 ## 关联的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!4224 | 1 个月前 | |
feat: asc_div支持int16_t/uint16_t/int32_t/uint32_t数据类型 Co-authored-by: zhangjiru<zhangjiru1@huawei.com> # message auto-generated for no-merge-commit merge: !4424 merge feature/asc-div-support-int-types into master feat: asc_div支持int16_t/uint16_t/int32_t/uint32_t数据类型 Created-by: leozjr Commit-by: zhangjiru Merged-by: cann-robot Description: ## 描述 asc_div(reg矢量计算)当前仅支持 half 和 float 数据类型。底层 vdiv 指令在 3510 架构上已支持 int16_t/uint16_t/int32_t/uint32_t,本次为 asc_div 补齐这四种整数类型的接口实现。 具体改动: - impl/c_api/instr_impl/npu_arch_3510/vector_compute_impl/asc_div_impl.h:新增 int16_t/uint16_t/int32_t/uint32_t 四个 impl 重载,内部调用 vdiv 指令。 - impl/c_api/instr_impl/npu_arch_3510/vector_compute_impl.h:新增对应四个 wrapper 函数 asc_div,调用各自的 impl。 - include/c_api/reg_compute/reg_vector.h:新增四个接口声明。 - tests/api/c_api/npu_arch_3510/vector_compute/test_asc_div.cpp:补充四种整数类型的 UT 用例。 - docs/zh/api/SIMD-API/C-API/reg/arithmetic_compute/asc_div.md:更新函数原型,补充新增的数据类型声明。 ## 关联的Issue 关联Issue #1275 ## 测试 本地构建 ascend950pr_9599_AIV target 并运行 UT,2386 个用例全部通过,其中 asc_div 相关 6 个用例(half/float/int16_t/uint16_t/int32_t/uint32_t)均 PASSED。 ## 文档更新 更新了 docs/zh/api/SIMD-API/C-API/reg/arithmetic_compute/asc_div.md 函数原型,补充新增数据类型声明。 ## 类型标签 - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4424 | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 1 个月前 |