pf_wmma: say in the comment where the WMMA2 tile layout comes from
This commit is contained in:
1 parent
dca6a6532f
commit
ab5ea838de
1 file changed
+2
-1
@@ -3965,7 +3965,8 @@ __global__ void __launch_bounds__(WG_THREADS) gemm_iq_f16_grouped_kernel(int ty,
|
||||
}
|
||||
}
|
||||
|
||||
// ---- STRATA_PF_WMMA2=1 (opt-in): IQ2_S gate/up and IQ4_NL down, tiled after a llama.cpp fork's Volta MoE kernel.
|
||||
// ---- STRATA_PF_WMMA2=1 (opt-in): IQ2_S gate/up and IQ4_NL down, tiled like a Volta MoE kernel in the
|
||||
// PR author's own unpublished llama.cpp patches.
|
||||
// A block: W2_RB = 128 weight rows of one expert x W2_CB = 64 of its sorted rows, K stages of W2_KT = 64. Thread t dequantizes
|
||||
// row t % 128, 32-value sub-block t / 128 of each K stage from the raw stage in shared memory (one IQ2_S super-block or four IQ4_NL
|
||||
// blocks per row, read by the whole block as 4-byte words, the next one already in registers). 8 warps = 4 (32 weight rows) x 2
|
||||
|
||||
Reference in new issue
Block a user