Archived
review notes of the MXFP4 decode GEMMs: comments, unreachable instantiations
Independent review of 675322e: no defect (the double buffers, the ratio timing against the old kernel including a split starting mid-block and the 64-wide slab, the clamped tile, the empty split; every variant without spills inside its waves budget). Notes taken: - the slab rule's LDS formula was the LDS-staged kernel's; say so, and that the DTM 4 arm may no longer pay (not re-tuned); - mxd_ratio's comment describes when each kernel publishes the ratio; - gemv_wide no longer instantiates two column tiles at one row tile (unreachable: two tiles need more than 24 rows); - a comment line over 100 columns. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
2382686d3b
commit
0fb3badc6c
2 files changed
+13
-8
No files matched your search
@@ -286,7 +286,9 @@ void mxg_launch(long a, long ascale, long wq, long ws, long wref, long c, int M,
|
||||
Cp, M, K, as_rs, lda, ldws, ldc)
|
||||
#define MXW_TN(AB_, RT_) { if (tn2) MXW_L(AB_, RT_, 2); else MXW_L(AB_, RT_, 1); }
|
||||
#define MXW_AB(RT_) { if (ablk) MXW_TN(true, RT_) else MXW_TN(false, RT_) }
|
||||
if (rt <= 1) MXW_AB(1) else if (rt == 2) MXW_AB(2) else if (rt == 3) MXW_AB(3) else MXW_AB(4)
|
||||
// One row tile is at most 16 rows, below the two-column threshold.
|
||||
if (rt <= 1) { if (ablk) MXW_L(true, 1, 1); else MXW_L(false, 1, 1); }
|
||||
else if (rt == 2) MXW_AB(2) else if (rt == 3) MXW_AB(3) else MXW_AB(4)
|
||||
#undef MXW_AB
|
||||
#undef MXW_TN
|
||||
#undef MXW_L
|
||||
|
||||
Reference in new issue
Block a user