VORTEXM4: STRMM/DTRMM at about half of Accelerate at n = 1024
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 52/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- c
- 领域
- backend, performance
调研方向
Start by profiling the STRMM path at n = 1024 to separate kernel time, triangle copy time and driver overhead. The issue points to gemm_kernel_sme2.c, trmm_ncopy_sme2.c, trmm_tcopy_sme2.c and driver/level3/trmm_L.c and trmm_R.c; compare those measurements with the listed Accelerate and SYMM results. Done means identifying which part accounts for the slowdown; the candidate causes have not yet been measured separately.
由索引模型根据 Issue 内容生成。
描述
STRMM and DTRMM on VORTEXM4 (SME2 kernels from #6074) are slower than the other level-3 routines also at large sizes. On an M4 Pro, one thread, n = 1024: all 16 STRMM variants run at 780-888 GFLOPS, Accelerate at 1536-1562 (0.52x); DTRMM is at 0.61x. At n = 4096 STRMM is at 0.78-0.86x. SYMM, which uses the same GEMM kernel through the level-3 driver, reaches 0.93x at n = 1024.
The difference is therefore specific to the TRMM path. Candidates, not yet measured separately:
- the TRMM kernel (
gemm_kernel_sme2.cwithTRMMKERNEL) zeroes ZA and storesC = alpha * ZAwith a per-row scale-only store (s2_c_store_alpha), not the four-row fast path of the GEMM case; - the triangle copies (
trmm_ncopy_sme2.c,trmm_tcopy_sme2.c, ~43 GB/s, see #6146); driver/level3/trmm_L.c/trmm_R.ccall the kernel on chunks of at most 3 x GEMM_UNROLL_N = 48 columns.
A first step is a profile that separates kernel time, copy time and driver overhead at n = 1024.
- 主要语言
- C
- 星标
- 7.6k
- 派生
- 1.7k
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 42
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenMathLib/OpenBLAS 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
OpenMathLib/OpenBLAS#6152 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 28/100
OpenMathLib/OpenBLAS#6151 · 2 条评论 ·
维护者通常 1 天内回复
-
VORTEXM4: s2_usable() runs RDSVL before the SME2 check (SIGILL without SME)可能已有人在做 @tesch1 于 1 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 25/100
OpenMathLib/OpenBLAS#6150 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
OpenMathLib/OpenBLAS#6149 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 43/100
OpenMathLib/OpenBLAS#6148 ·
维护者通常 1 天内回复
查看 OpenMathLib/OpenBLAS 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 84/100
bigtreetech/BIGTREETECH-TouchScreenFirmware#3056 ·
维护者通常 1 天内回复
-
[pico][astrocade] emu/apply.sh edits src/mame/midway/astrohome.cpp, which current MAME has in bally/未关闭
难度 2/5 1-3 小时 新手友好度 83/100
FujiNetWIFI/fujinet-firmware#2120 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Bug Status: Needs Triage
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复