Pull Request已成功合入, 合并人@CANN-robot
(感谢 吴洋 的贡献)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
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| impl/basic_api | ✅ Andy-lb, chenyiyuan (2/2) | ✅ Andy-lb (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
wuyang_hw, thanks for your pull request. All authors of the commits have signed the CLA. 👍


流水线任务触发成功
任务链接 [c39ca21e7a984a749257ae217d22864b][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| SCA | ✅ SUCCESS | >>>>> | |
| anti_virus | ✅ SUCCESS | >>>>> | |
| codecheck | ⏳ waiting | ||
| Check_Pr | ✅ SUCCESS | >>>>> | |
| pre_comment | ✅ SUCCESS | >>>>> | |
| StaticCheck_codespell_check | ✅ SUCCESS | ||
| StaticCheck_link_validity_check | ✅ SUCCESS | ||
| StaticCheck_resource_existence_check | ✅ SUCCESS | ||
| StaticCheck_tag_closed_check | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| codecheck_codestyle | ⏳ waiting | ||
| precommit | ✅ SUCCESS | >>>>> |


流水线任务触发成功
任务链接 [3f7faa09680845468e0a69956ea33641][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| Compile_Ascend_X86 | ⏳ waiting | >>>>> | |
| Compile_Ascend_ARM | ⏳ waiting | >>>>> | |
| pre_comment | ✅ SUCCESS | >>>>> | |
| Presmoke_A900_npupool | ⏳ waiting |


流水线任务触发成功
任务链接 [8ec91ed3f741442a9943fa6f1a963bca][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| pre_comment | ✅ SUCCESS | >>>>> | |
| UT_Test_adv_test_one | ⏳ waiting | ||
| UT_Test_adv_test_two | ⏳ waiting | ||
| UT_Test_basic_test_one | ⏳ waiting | ||
| UT_Test_basic_test_two | ⏳ waiting | ||
| UT_Test_basic_test_three | ⏳ waiting | ||
| UT_Test_basic_test_four | ⏳ waiting | ||
| UT_Test_basic_test_five | ⏳ waiting | ||
| UT_Test_arm | ⏳ waiting | ||
| UT_Test_report | ⏳ waiting | >>>>> |


wuyang_hw,感谢您的提交,建议在完成PR充分自验证后,再触发线上构建任务。
若您的PR已具备检视条件,可根据下表的责任田,@对应的committer进行代码检视,我们会在第一时间对您的提交进行处理。
代码责任田:
| module | committer |
|---|---|
| adv_api | chenyiyuan, wuyang_hw |
| basic_api | chenyiyuan, wuyang_hw |
| c_api | pangfd, yue_mo_du_qian |
| cmake | xun_zhuge, DragonBornHD84 |
| docs | munanhw, ai_xin |
| examples | changxianyu, bianque |
| simt_api | wulinyu, zhanghao_0689 |
| scripts | xun_zhuge, kevin365 |
| tools | YANXI_ZHAO, XuebinYang, sjtulxh |
💡 如您不确定可以@谁,可以直接@我或者ascend-c sig的maintainer,xun_zhuge和ascendhjh,我们会为您分配合适的committer进行代码检视。
再次感谢您参与CANN的社区贡献。


流水线任务触发成功
任务链接 [03a3053445d041058afc04c213f7d39b][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| SCA | ✅ SUCCESS | >>>>> | |
| anti_virus | ✅ SUCCESS | >>>>> | |
| codecheck | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| pre_comment | ✅ SUCCESS | >>>>> | |
| StaticCheck_codespell_check | ✅ SUCCESS | ||
| StaticCheck_link_validity_check | ✅ SUCCESS | ||
| StaticCheck_resource_existence_check | ✅ SUCCESS | ||
| StaticCheck_tag_closed_check | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| codecheck_codestyle | ⚠️ WARNING | ||
| precommit | ✅ SUCCESS | >>>>> |
[2026-05-08 21:06:55] CI执行结束


流水线任务触发成功
任务链接 [94ea3369630c40acb49b538d26179d68][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| pre_comment | ✅ SUCCESS | >>>>> | |
| UT_Test_adv_test_one | ✅ SUCCESS | ||
| UT_Test_adv_test_two | ✅ SUCCESS | ||
| UT_Test_basic_test_one | ✅ SUCCESS | ||
| UT_Test_basic_test_two | ✅ SUCCESS | ||
| UT_Test_basic_test_three | ✅ SUCCESS | ||
| UT_Test_basic_test_four | ✅ SUCCESS | ||
| UT_Test_basic_test_five | ✅ SUCCESS | ||
| UT_Test_arm | ✅ SUCCESS | ||
| UT_Test_report | ✅ SUCCESS | >>>>> |
[2026-05-08 21:31:26] CI执行结束


/lgtm
/approve


The following users do not have permission to comment /lgtm or /approve on any module in this PR:
horming


The following users do not have permission to comment /lgtm or /approve on any module in this PR:
horming


The following users do not have permission to comment /lgtm or /approve on any module in this PR:
horming


The following label is not ready.
ci-pipeline-passed: The ci-pipeline-passed label is expired. Please compile again.


流水线任务触发成功
任务链接 [6d77c1dcf468464a951ef835b42d66af][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | ||
| codecheck | ✅ SUCCESS | >>>>> | |
| codecheck_Pr | ✅ SUCCESS | ||
| pre_comment | ✅ SUCCESS | >>>>> | |
| StaticCheck_codespell_check | ✅ SUCCESS | ||
| StaticCheck_link_validity_check | ✅ SUCCESS | ||
| StaticCheck_resource_existence_check | ✅ SUCCESS | ||
| StaticCheck_tag_closed_check | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| codecheck_codestyle | ⚠️ WARNING | ||
| codecheck_precommit | ✅ SUCCESS | >>>>> |
[2026-05-14 14:38:21] CI执行结束


流水线任务触发成功
任务链接 [1f2094e531734afa9feb4666e3c4256e][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| pre_comment | ✅ SUCCESS | >>>>> | |
| UT_Test_adv_test_one | ✅ SUCCESS | ||
| UT_Test_adv_test_two | ✅ SUCCESS | ||
| UT_Test_basic_test_one | ✅ SUCCESS | ||
| UT_Test_basic_test_two | ✅ SUCCESS | ||
| UT_Test_basic_test_three | ✅ SUCCESS | ||
| UT_Test_basic_test_four | ✅ SUCCESS | ||
| UT_Test_basic_test_five | ✅ SUCCESS | ||
| UT_Test_arm | ✅ SUCCESS | ||
| UT_Test_report | ✅ SUCCESS | >>>>> |
[2026-05-14 15:07:25] CI执行结束


Review Guide
This pull-request passes review.
Committers who wrote a comment of /approve are: Andy-lb.
Reviewers who wrote a comment of /lgtm are: chenyiyuan, Andy-lb.


描述
为支持更高效的低精度计算,扩展了LoadData2D系列函数的数据类型支持范围,新增对4-bit数据类型的支持。
具体变更
LoadData2DL12L0ACal和LoadData2DL12L0BCal函数中新增支持以下4-bit类型:fp4x2_e2m1_tfp4x2_e1m2_tstatic_assert的类型检查和错误提示信息关联的Issue
https://gitcode.com/cann/asc-devkit/issues/272
测试
文档更新
NA
类型标签