已合并
feat: 北林数据结构-课外实验4.1-低精度矩阵乘法优化实验 #500
Lexie创建于 7月31日
feat: 北林数据结构-课外实验4.1-低精度矩阵乘法优化实验 #500
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 Lexie 的贡献)7月31日 添加了label:cann-cla/yes
CANN-robot
7月31日 评论:
7月31日 评论:
CANN-robot
7月31日 评论:
7月31日 评论:
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 |
|---|---|---|
| repo-cann/cann-learning-hub | ✅ fuyangchenghu, waimaidaole (2/2) | ✅ fuyangchenghu (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
m0_73961305, thanks for your pull request. All authors of the commits have signed the CLA. 👍


Lexie
8月1日 评论:
8月1日 评论:
已通过机器人审核,请人工审核


8月7日 update merge request[project id: 9260575, iid: 500, commit_id: bb5059cca88858bec82a3cb37f93f91079a12429] virtual merging success
8月7日 update merge request[project id: 9260575, iid: 500, commit_id: bb5059cca88858bec82a3cb37f93f91079a12429] virtual merging success
8月7日 update merge request[project id: 9260575, iid: 500, commit_id: eb6fc67108a7a06504d7d5224109aadc879139f5] virtual merging success
8月7日 update merge request[project id: 9260575, iid: 500, commit_id: eb6fc67108a7a06504d7d5224109aadc879139f5] virtual merging success
8月7日 删除了label:cann-cla/yes
8月7日 添加了label:cann-cla/yes
chenmingyu
27 天前 评论:
27 天前 评论:
较长的代码可以适当添加一点注解,等pull423 问题修复之后可以一起合入


26 天前 将chenmingyu设为审查人
26 天前 update merge request[project id: 9260575, iid: 500, commit_id: b24d05fc6143f99885ca3c922f57fd112ea87705] virtual merging success
26 天前 update merge request[project id: 9260575, iid: 500, commit_id: b24d05fc6143f99885ca3c922f57fd112ea87705] virtual merging success
26 天前 update merge request[project id: 9260575, iid: 500, commit_id: b811e0d3a0139675572ed59efceacecdfaac3b8b] virtual merging success
26 天前 update merge request[project id: 9260575, iid: 500, commit_id: b811e0d3a0139675572ed59efceacecdfaac3b8b] virtual merging success
26 天前 删除了label:cann-cla/yes
26 天前 添加了label:cann-cla/yes
fuyangchenghu
25 天前 评论:
25 天前 评论:
/lgtm
/approve


25 天前 添加了label:approved
25 天前 添加了label:lgtm
25 天前 合入了pull request
描述
在“面向高性能计算的数据结构”课程中新增第四章“算子开发”的课内实验 04.01“低精度矩阵乘法优化实验”。
本实验围绕稠密矩阵乘法 GEMM 展开,首先在 CPU 上实现串行 FP64 GEMM,作为正确性和性能基线;随后基于 Ascend C 静态 Tensor 编程方式,在昇腾 NPU 的 AI Vector 核上分别实现 FP32 和 FP16 GEMM,比较不同计算精度对数据存储、数据搬运、数值误差和执行性能的影响。
实验主要包含以下内容:
%%writefile生成完整实验工程,包括公共源码、Host 程序、Device 核函数、CMake 配置和运行脚本。FP32 与 FP16 实现采用相同的 Vector 计算流程,但根据数据类型和数据搬运对齐要求使用不同的分块参数:
20260717;关联的Issue
无。
测试
Notebook 检查
./images、./src、../images或../src路径的依赖;%%writefile提供实验所需的完整工程文件。