Repository navigation
refactor: rename kTile→kBlock and simplify copy infra across 07-14 - #15
Merged
Merged
Conversation
Unify naming and copy-tiling across the 07-14 demos so the spec layer reads consistently: - Rename template params and constants kTileM/N/K → kBlockM/N/K (07-14). - For 07-10 (non-TMA G2S/S2G copies), replace the kThreadsPerWarp / kTileM_Copy / kTileN_Copy / kAlignedCopyItems* machinery with a single kBlockK_Copy = cute::min(64, kBlockK)/8 (and kBlockN_Copy for files that copy C/O), and a fixed (1, 8) val layout. The thread layout is now uniformly K-major for A/B and N-major for C/O, matching the cp.async 128b atom. - 08 dynamic_mma: kShmSize switched to cute::max(A+B+C, O) so the no-cvt-precision path that only stages O has correct sizing. Verified on remote H200 (SM90): all 12 drivers (07 swizzling, 08 dynamic_mma, 09 pipelining x2, 10 gemm_api x2, 11 tma_load_store, 12 tma_multicast_reduce, 13 warpgroup_mma x2, 14 warp_specialization x2) compile and produce numerically correct output. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unify naming and copy-tiling across the 07-14 demos so the spec layer reads consistently:
Verified on remote H200 (SM90): all 12 drivers (07 swizzling, 08 dynamic_mma, 09 pipelining x2, 10 gemm_api x2, 11 tma_load_store, 12 tma_multicast_reduce, 13 warpgroup_mma x2, 14 warp_specialization x2) compile and produce numerically correct output.