stage_rows_padstage
The stage kernel, with @padstage added, as the compiler built it for sm_75 at commit bbc8898: ; a grid of 1 CTAs, 256 threads each.
// Eight f16 rows of 256 bytes each, staged into shared memory. Under// @padstage each row is padded by eight elements.@padstagekernel stage(K: tensor<f16>[64, 128], O: tensor<f16>[8, 128]) { var k = K[0 :+ 8, 0 :+ 128] O[0 :+ 8, 0 :+ 128] = k}phobos-lang/examples/stage_rows.ph@padstage added
CTA 0
- global memory
- shared memory
- threads and lanes
- extra 128-byte lines, masked elements
Keys: left and right arrows step, space plays and pauses; play runs on from the last step to the first. The address of this page keeps the step, the CTA and the zoom.