| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
docs(simt): 修正 __short_as_bfloat16 与 __ushort_as_half 特殊值表 Co-authored-by: lizq15<3229180468@qq.com> # message auto-generated for no-merge-commit merge: !7519 merge fix/issues-2048-2049-simt-doc-special-values-20261118T153000Z-2048 into master docs(simt): 修正 __short_as_bfloat16 与 __ushort_as_half 特殊值表 Created-by: lizq15 Commit-by: lizq15 Merged-by: cann-robot Description: ## 描述 修正 SIMT API 文档特殊值表中十进制与十六进制不一致的问题: - __short_as_bfloat16.md(#2048):bfloat16 的 inf 位模式应为 0x7F80(十进制 32640),原文误写为 0x7F81;0x7F81(32641)实际是 nan 区间的起点。 - __ushort_as_half.md(#2049):half 的 nan 上界 16 位应为 0x7FFF(十进制 32767),原文误写为 0x7FFFF(超出 16 位范围)。 依据:头文件 include/simt_api/asc_bf16.h 中 ASCRT_INF_BF16=0x7F80、ASCRT_NAN_BF16=0x7FFF;同族 __ushort_as_bfloat16、__short_as_half 文档的对应表格均正确。 ## 关联的Issue Closes #2048, #2049 同步提交到分支:9.2.0、9.3.0-beta.1 ## 测试 - 交叉核对同族 4 个转换接口文档(__short_as_bfloat16、__ushort_as_bfloat16、__short_as_half、__ushort_as_half)的特殊值表全部一致 - pre-commit 全部通过(codespell、OAT 合规、markdown-link-check) ## 文档更新 本 PR 即文档修复,更新 docs/zh/api/SIMT-API 下 2 个文件。 ## 类型标签 - [x] 📝 docs: 文档更新 See merge request: cann/asc-devkit!7519 | 9 天前 | |
docs新增:技术附录新增浮点计算章节 Co-authored-by: xuyiyang0324<xuyiyang6@huawei.com> # message auto-generated for no-merge-commit merge: !7321 merge float-compute into master docs新增:技术附录新增浮点计算章节 Created-by: xuyiyang0324 Commit-by: xuyiyang0324 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 本文介绍浮点计算在Ascend C中的基本性质、数据类型与运算行为,帮助开发者理解浮点运算的精度特性,在保证精度的前提下充分发挥硬件性能。浮点数只能近似表示实数,相同的运算在不同实现(硬件、计算顺序)下可能产生不同的结果;理解这些特性是编写正确且高性能浮点算子的基础。 ## 章节组织 - **浮点计算基础**:浮点数的IEEE-754编码格式、正规数与非正规数、特殊值、结合律与运算顺序、乘加融合、饱和与溢出处理以及舍入模式。 - **Ascend C数据类型汇总**:Ascend C支持的各浮点数据类型的类型总览、数据范围与精度属性,以及FP8与FP4浮点数格式(含MX缩放计算)、hifloat数据格式、HF计算模式等低精度与高性能浮点特性。 - **浮点操作**:按API与编程范式介绍浮点数参与的运算,包括Reg矢量计算、SIMT运算与Cube运算的浮点相关接口及浮点行为差异。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> https://gitcode.com/cann/asc-devkit/issues/1985 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 无 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> docs/zh/guide/technical_appendix/floating_point_computation/1_floating_point_basics.md docs/zh/guide/technical_appendix/floating_point_computation/2_ascendc_data_type_summary.md docs/zh/guide/technical_appendix/floating_point_computation/3_floating_point_operation.md docs/zh/guide/technical_appendix/floating_point_computation/overview.md docs/zh/guide/technical_appendix/technical_appendix.md ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7321 | 9 天前 | |
新增位运算、整数点积、64 位原子操作和小向量构造接口 Co-authored-by: baixueyan<baixy2@mails.neu.edu.cn> # message auto-generated for no-merge-commit merge: !7264 merge dev4 into master 新增位运算、整数点积、64 位原子操作和小向量构造接口 Created-by: gcw_1m54gGxh Commit-by: baixueyan Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 新增位运算、整数点积、64 位原子操作和小向量构造接口 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> https://gitcode.com/cann/asc-devkit/issues/1980 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 修改以下文件: docs/zh/api/README.md docs/zh/api/SIMT-API/SIMD_SIMT_hybrid_programming_intro/extended_syntax/builtin_data_types.md docs/zh/api/SIMT-API/SIMT_programming_intro/extended_syntax/builtin_data_types.md docs/zh/api/SIMT-API/atomic_operations/asc_atomic_add.md docs/zh/api/SIMT-API/atomic_operations/asc_atomic_and.md docs/zh/api/SIMT-API/atomic_operations/asc_atomic_max.md docs/zh/api/SIMT-API/atomic_operations/asc_atomic_min.md docs/zh/api/SIMT-API/atomic_operations/asc_atomic_or.md docs/zh/api/SIMT-API/atomic_operations/asc_atomic_xor.md docs/zh/api/SIMT-API/math_functions/float_math_functions/float_math_functions.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/integer_math_functions.md impl/simt_api/device_atomic_functions_impl.h impl/simt_api/device_functions_impl.h impl/simt_api/math_functions_impl.h impl/simt_api/vector_functions_impl.h include/simt_api/device_atomic_functions.h include/simt_api/device_functions.h include/simt_api/math_functions.h include/simt_api/vector_functions.h 新增以下文件: docs/zh/api/SIMT-API/math_functions/float_math_functions/__fmaf_ieee_rn.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/__dp2a_hi.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/__dp2a_lo.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/__dp4a.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/__funnelshift_l.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/__funnelshift_lc.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/__funnelshift_r.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/__funnelshift_rc.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/asc_bswap16.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/asc_bswap32.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/asc_bswap64.md ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7264 | 9 天前 | |
docs新增:技术附录新增浮点计算章节 Co-authored-by: xuyiyang0324<xuyiyang6@huawei.com> # message auto-generated for no-merge-commit merge: !7321 merge float-compute into master docs新增:技术附录新增浮点计算章节 Created-by: xuyiyang0324 Commit-by: xuyiyang0324 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 本文介绍浮点计算在Ascend C中的基本性质、数据类型与运算行为,帮助开发者理解浮点运算的精度特性,在保证精度的前提下充分发挥硬件性能。浮点数只能近似表示实数,相同的运算在不同实现(硬件、计算顺序)下可能产生不同的结果;理解这些特性是编写正确且高性能浮点算子的基础。 ## 章节组织 - **浮点计算基础**:浮点数的IEEE-754编码格式、正规数与非正规数、特殊值、结合律与运算顺序、乘加融合、饱和与溢出处理以及舍入模式。 - **Ascend C数据类型汇总**:Ascend C支持的各浮点数据类型的类型总览、数据范围与精度属性,以及FP8与FP4浮点数格式(含MX缩放计算)、hifloat数据格式、HF计算模式等低精度与高性能浮点特性。 - **浮点操作**:按API与编程范式介绍浮点数参与的运算,包括Reg矢量计算、SIMT运算与Cube运算的浮点相关接口及浮点行为差异。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> https://gitcode.com/cann/asc-devkit/issues/1985 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 无 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> docs/zh/guide/technical_appendix/floating_point_computation/1_floating_point_basics.md docs/zh/guide/technical_appendix/floating_point_computation/2_ascendc_data_type_summary.md docs/zh/guide/technical_appendix/floating_point_computation/3_floating_point_operation.md docs/zh/guide/technical_appendix/floating_point_computation/overview.md docs/zh/guide/technical_appendix/technical_appendix.md ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7321 | 9 天前 | |
docs(simt): 修正 __short_as_bfloat16 与 __ushort_as_half 特殊值表 Co-authored-by: lizq15<3229180468@qq.com> # message auto-generated for no-merge-commit merge: !7519 merge fix/issues-2048-2049-simt-doc-special-values-20261118T153000Z-2048 into master docs(simt): 修正 __short_as_bfloat16 与 __ushort_as_half 特殊值表 Created-by: lizq15 Commit-by: lizq15 Merged-by: cann-robot Description: ## 描述 修正 SIMT API 文档特殊值表中十进制与十六进制不一致的问题: - __short_as_bfloat16.md(#2048):bfloat16 的 inf 位模式应为 0x7F80(十进制 32640),原文误写为 0x7F81;0x7F81(32641)实际是 nan 区间的起点。 - __ushort_as_half.md(#2049):half 的 nan 上界 16 位应为 0x7FFF(十进制 32767),原文误写为 0x7FFFF(超出 16 位范围)。 依据:头文件 include/simt_api/asc_bf16.h 中 ASCRT_INF_BF16=0x7F80、ASCRT_NAN_BF16=0x7FFF;同族 __ushort_as_bfloat16、__short_as_half 文档的对应表格均正确。 ## 关联的Issue Closes #2048, #2049 同步提交到分支:9.2.0、9.3.0-beta.1 ## 测试 - 交叉核对同族 4 个转换接口文档(__short_as_bfloat16、__ushort_as_bfloat16、__short_as_half、__ushort_as_half)的特殊值表全部一致 - pre-commit 全部通过(codespell、OAT 合规、markdown-link-check) ## 文档更新 本 PR 即文档修复,更新 docs/zh/api/SIMT-API 下 2 个文件。 ## 类型标签 - [x] 📝 docs: 文档更新 See merge request: cann/asc-devkit!7519 | 9 天前 | |
新增位运算、整数点积、64 位原子操作和小向量构造接口 Co-authored-by: baixueyan<baixy2@mails.neu.edu.cn> # message auto-generated for no-merge-commit merge: !7264 merge dev4 into master 新增位运算、整数点积、64 位原子操作和小向量构造接口 Created-by: gcw_1m54gGxh Commit-by: baixueyan Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 新增位运算、整数点积、64 位原子操作和小向量构造接口 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> https://gitcode.com/cann/asc-devkit/issues/1980 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 修改以下文件: docs/zh/api/README.md docs/zh/api/SIMT-API/SIMD_SIMT_hybrid_programming_intro/extended_syntax/builtin_data_types.md docs/zh/api/SIMT-API/SIMT_programming_intro/extended_syntax/builtin_data_types.md docs/zh/api/SIMT-API/atomic_operations/asc_atomic_add.md docs/zh/api/SIMT-API/atomic_operations/asc_atomic_and.md docs/zh/api/SIMT-API/atomic_operations/asc_atomic_max.md docs/zh/api/SIMT-API/atomic_operations/asc_atomic_min.md docs/zh/api/SIMT-API/atomic_operations/asc_atomic_or.md docs/zh/api/SIMT-API/atomic_operations/asc_atomic_xor.md docs/zh/api/SIMT-API/math_functions/float_math_functions/float_math_functions.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/integer_math_functions.md impl/simt_api/device_atomic_functions_impl.h impl/simt_api/device_functions_impl.h impl/simt_api/math_functions_impl.h impl/simt_api/vector_functions_impl.h include/simt_api/device_atomic_functions.h include/simt_api/device_functions.h include/simt_api/math_functions.h include/simt_api/vector_functions.h 新增以下文件: docs/zh/api/SIMT-API/math_functions/float_math_functions/__fmaf_ieee_rn.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/__dp2a_hi.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/__dp2a_lo.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/__dp4a.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/__funnelshift_l.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/__funnelshift_lc.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/__funnelshift_r.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/__funnelshift_rc.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/asc_bswap16.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/asc_bswap32.md docs/zh/api/SIMT-API/math_functions/integer_math_functions/asc_bswap64.md ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7264 | 9 天前 | |
docs新增:技术附录新增浮点计算章节 Co-authored-by: xuyiyang0324<xuyiyang6@huawei.com> # message auto-generated for no-merge-commit merge: !7321 merge float-compute into master docs新增:技术附录新增浮点计算章节 Created-by: xuyiyang0324 Commit-by: xuyiyang0324 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 本文介绍浮点计算在Ascend C中的基本性质、数据类型与运算行为,帮助开发者理解浮点运算的精度特性,在保证精度的前提下充分发挥硬件性能。浮点数只能近似表示实数,相同的运算在不同实现(硬件、计算顺序)下可能产生不同的结果;理解这些特性是编写正确且高性能浮点算子的基础。 ## 章节组织 - **浮点计算基础**:浮点数的IEEE-754编码格式、正规数与非正规数、特殊值、结合律与运算顺序、乘加融合、饱和与溢出处理以及舍入模式。 - **Ascend C数据类型汇总**:Ascend C支持的各浮点数据类型的类型总览、数据范围与精度属性,以及FP8与FP4浮点数格式(含MX缩放计算)、hifloat数据格式、HF计算模式等低精度与高性能浮点特性。 - **浮点操作**:按API与编程范式介绍浮点数参与的运算,包括Reg矢量计算、SIMT运算与Cube运算的浮点相关接口及浮点行为差异。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> https://gitcode.com/cann/asc-devkit/issues/1985 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 无 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> docs/zh/guide/technical_appendix/floating_point_computation/1_floating_point_basics.md docs/zh/guide/technical_appendix/floating_point_computation/2_ascendc_data_type_summary.md docs/zh/guide/technical_appendix/floating_point_computation/3_floating_point_operation.md docs/zh/guide/technical_appendix/floating_point_computation/overview.md docs/zh/guide/technical_appendix/technical_appendix.md ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7321 | 9 天前 | |
docs新增:技术附录新增浮点计算章节 Co-authored-by: xuyiyang0324<xuyiyang6@huawei.com> # message auto-generated for no-merge-commit merge: !7321 merge float-compute into master docs新增:技术附录新增浮点计算章节 Created-by: xuyiyang0324 Commit-by: xuyiyang0324 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 本文介绍浮点计算在Ascend C中的基本性质、数据类型与运算行为,帮助开发者理解浮点运算的精度特性,在保证精度的前提下充分发挥硬件性能。浮点数只能近似表示实数,相同的运算在不同实现(硬件、计算顺序)下可能产生不同的结果;理解这些特性是编写正确且高性能浮点算子的基础。 ## 章节组织 - **浮点计算基础**:浮点数的IEEE-754编码格式、正规数与非正规数、特殊值、结合律与运算顺序、乘加融合、饱和与溢出处理以及舍入模式。 - **Ascend C数据类型汇总**:Ascend C支持的各浮点数据类型的类型总览、数据范围与精度属性,以及FP8与FP4浮点数格式(含MX缩放计算)、hifloat数据格式、HF计算模式等低精度与高性能浮点特性。 - **浮点操作**:按API与编程范式介绍浮点数参与的运算,包括Reg矢量计算、SIMT运算与Cube运算的浮点相关接口及浮点行为差异。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> https://gitcode.com/cann/asc-devkit/issues/1985 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 无 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> docs/zh/guide/technical_appendix/floating_point_computation/1_floating_point_basics.md docs/zh/guide/technical_appendix/floating_point_computation/2_ascendc_data_type_summary.md docs/zh/guide/technical_appendix/floating_point_computation/3_floating_point_operation.md docs/zh/guide/technical_appendix/floating_point_computation/overview.md docs/zh/guide/technical_appendix/technical_appendix.md ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7321 | 9 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 9 天前 | ||
| 9 天前 | ||
| 9 天前 | ||
| 9 天前 | ||
| 9 天前 | ||
| 9 天前 | ||
| 9 天前 | ||
| 9 天前 |