Before you start: words you need#
| Word | Plain meaning |
|---|---|
| TMA | Tensor Memory Accelerator. A copy engine inside each Hopper or Blackwell SM. One thread asks it to move a whole tile between global memory and shared memory, and it computes every address itself. |
| Tensor map | A 128-byte descriptor, built once on the host, that tells TMA a tensor’s base address, shape, strides, tile (“box”) size and swizzle. Kernels pass it instead of a raw pointer. |
| mbarrier | A 64-bit synchronisation object living in shared memory. Threads “arrive” on it; asynchronous hardware (TMA, tensor cores) can also arrive on it, and other threads wait for it to complete. |
| Transaction count | A byte counter on an mbarrier. A thread says “expect 32 KB”; each TMA copy subtracts the bytes it lands; the barrier completes only when the count reaches zero. |
| Phase / parity | Each time an mbarrier completes, it flips a 1-bit phase. Waiters ask “has phase 0 (or 1) finished?”, which lets one barrier be reused round after round. |
| Warpgroup | Four consecutive warps (128 threads). Hopper’s tensor-core instruction is issued by a whole warpgroup. |
| wgmma / tcgen05 | The Hopper (wgmma.mma_async) and Blackwell (tcgen05.mma) asynchronous matrix-multiply instructions. |
| TMEM | Tensor memory: 256 KB per SM on data-centre Blackwell, next to the tensor cores, where tcgen05.mma keeps its accumulators instead of registers. |
1. What is it?#
A state-of-the-art GEMM or attention kernel on Hopper or Blackwell is no longer “threads load data, then threads multiply”. It is a small dataflow machine built from four kinds of hardware that run at the same time:
- a copy engine (TMA) that moves tiles from HBM into shared memory;
- shared memory, laid out in a swizzled pattern the tensor cores can read without conflicts;
- tensor cores, driven by asynchronous instructions (
wgmmaon Hopper,tcgen05.mmaon Blackwell) that read operands straight from shared memory; - accumulators that live in registers (Hopper) or in TMEM (Blackwell), drained by an epilogue that converts, fuses extra work and stores through TMA.
The pieces never call each other. They coordinate through mbarriers in shared memory: “this buffer is full”, “this buffer is free again”, “this accumulator is ready”.
flowchart LR HBM["HBM<br/>A, B tiles"] -->|"TMA load<br/>(one thread issues)"| SMEM["Shared memory<br/>N-stage ring, swizzled"] SMEM -->|"descriptors"| TC["Tensor core<br/>wgmma / tcgen05.mma"] TC --> ACC["Accumulator<br/>registers (Hopper)<br/>TMEM (Blackwell)"] ACC -->|"tcgen05.ld / regs"| EPI["Epilogue warps<br/>scale, bias, activation, cast"] EPI -->|"TMA store"| OUT["HBM<br/>C tile"] BAR["mbarriers<br/>full / empty / acc-ready"] -.-> SMEM BAR -.-> TC BAR -.-> EPI class HBM,SMEM,ACC,OUT memory class TC,EPI compute class BAR queue
This lesson takes the machine apart, one instruction family at a time. Lesson 25.b shows how warps are assigned to its stages; 25.e builds a whole GEMM from it.
Facts checked on 13 November 2026 against the PTX ISA 9.5 manual, CUTLASS 4.8.1 and Triton 3.9.0.
2. Why does it exist?#
Three walls forced the change.
The latency wall. HBM is far away: a load takes several hundred nanoseconds. To keep the memory system busy, an SM must have bandwidth × latency bytes already requested and not yet returned (Little’s law). Section 7 computes it: about 18 KB per SM on H100 and 38 KB on B200. Issued as 16-byte loads by ordinary threads, that is over a thousand loads in flight per SM, each holding registers and an instruction slot. TMA replaces those thousand instructions with one.
The register wall. Before Ampere, every byte went HBM → registers → shared memory. The
registers that staged data could not hold accumulators. Ampere’s cp.async skipped the registers;
TMA also skips the address arithmetic.
The tensor-core wall. Each generation roughly doubles tensor-core throughput per SM, while the rest of the SM (registers, issue slots, special-function units) grows much less. On Hopper a warpgroup’s accumulators can take more than half its registers; on Blackwell the tensor core is fast enough that even issuing instructions from many threads becomes a cost. So Blackwell moves the accumulators out of registers into TMEM and lets one thread issue the matrix multiply.
The upshot: on Hopper and Blackwell, the kernels that reach 70–90 % of peak (cuBLAS, CUTLASS,
FlashAttention-3 and -4, DeepGEMM, FlashMLA) are all written around these asynchronous units.
Ordinary mma.sync code (4.f) tops out far lower.
3. Simple analogy#
An old-style kernel is a kitchen where every cook walks to the store room, carries ingredients back by hand, and then cooks. Most of the cooks’ time goes on walking.
A modern kernel is a restaurant with a delivery van (TMA), a row of shelves by the stove (the shared-memory ring), a cooking robot (the tensor core) and plating staff (the epilogue). One person phones the van with an order (“tile at row 512, column 64”). The van fills a shelf and flips a little flag on it (the mbarrier). The robot waits for the flag, cooks from the shelf, and flips another flag when the shelf is empty again. Nobody carries anything by hand, and nobody waits for anyone except through the flags.
4. Tiny example: one tile through the machine, in Gluon#
This is the simplest Blackwell matmul from Triton’s own Gluon tutorials (06-tcgen05.py, Triton
3.9.0), shortened. Gluon (25.d) exposes the hardware pieces almost one to one, so it reads like a
list of the parts above.
from triton.experimental import gluon
from triton.experimental.gluon import language as gl
from triton.experimental.gluon.language.nvidia.blackwell import (
TensorMemoryLayout, allocate_tensor_memory, tma, mbarrier,
tcgen05_mma, tcgen05_commit, fence_async_shared)
@gluon.jit
def blocked_matmul_kernel(a_desc, b_desc, c_desc, num_warps: gl.constexpr):
BLOCK_M: gl.constexpr = c_desc.block_type.shape[0]
BLOCK_N: gl.constexpr = c_desc.block_type.shape[1]
BLOCK_K: gl.constexpr = a_desc.block_type.shape[1]
off_m = gl.program_id(0) * BLOCK_M
off_n = gl.program_id(1) * BLOCK_N
# 1. Shared-memory tiles in the swizzled layout the tensor-map descriptor declares
a_smem = gl.allocate_shared_memory(a_desc.dtype, a_desc.block_type.shape, a_desc.layout)
b_smem = gl.allocate_shared_memory(b_desc.dtype, b_desc.block_type.shape, b_desc.layout)
# 2. Two mbarriers: "TMA landed" and "MMA finished"
tma_bar = gl.allocate_shared_memory(gl.int64, [1], mbarrier.MBarrierLayout())
mma_bar = gl.allocate_shared_memory(gl.int64, [1], mbarrier.MBarrierLayout())
mbarrier.init(tma_bar, count=1)
mbarrier.init(mma_bar, count=1)
# 3. The accumulator lives in tensor memory, not registers
tmem_layout: gl.constexpr = TensorMemoryLayout([BLOCK_M, BLOCK_N], col_stride=1)
acc = allocate_tensor_memory(gl.float32, [BLOCK_M, BLOCK_N], tmem_layout)
phase = 0
use_acc = False # first MMA overwrites, later ones accumulate
for k in range(0, a_desc.shape[1], BLOCK_K):
mbarrier.expect(tma_bar, a_desc.block_type.nbytes + b_desc.block_type.nbytes)
tma.async_load(a_desc, [off_m, k], tma_bar, a_smem) # copy engine, async
tma.async_load(b_desc, [k, off_n], tma_bar, b_smem)
mbarrier.wait(tma_bar, phase=phase) # bytes have landed
tcgen05_mma(a_smem, b_smem, acc, use_acc=use_acc) # async MMA into TMEM
tcgen05_commit(mma_bar) # arrive when it finishes
mbarrier.wait(mma_bar, phase=phase)
use_acc = True
phase ^= 1 # flip the parity bit
# 4. Epilogue: TMEM -> registers -> shared -> TMA store
out = acc.load()
c_smem = gl.allocate_shared_memory(c_desc.dtype, c_desc.block_type.shape, c_desc.layout)
c_smem.store(out.to(c_desc.dtype))
fence_async_shared() # make the generic store visible to TMA
tma.async_store(c_desc, [off_m, off_n], c_smem)
tma.store_wait(pendings=0)Every line maps to one hardware step: expect sets the transaction count, async_load is a
cp.async.bulk.tensor, wait is mbarrier.try_wait.parity, tcgen05_mma / tcgen05_commit are
the PTX instructions of the same name, acc.load() is tcgen05.ld, and fence_async_shared is
fence.proxy.async.
It is correct but slow: copy and multiply take turns. The tutorial’s next steps add a multi-stage ring and warp specialisation (25.b) and a persistent scheduler (25.e, 25.j) to reach cuBLAS speed.
5. Technical explanation#
Asynchronous copies, generation by generation#
| Generation | Mechanism | Who computes addresses | Completion tracked by |
|---|---|---|---|
| Ampere (SM80) | cp.async (LDGSTS): 4–16 bytes per thread, HBM → shared, skipping registers | every thread | cp.async.commit_group / wait_group |
| Hopper (SM90) | TMA: cp.async.bulk.tensor.{1-5}d — a whole tile per instruction | the TMA unit, from the tensor map | mbarrier transaction bytes |
| Blackwell (SM100/103) | TMA as on Hopper, plus tile::gather4 (four rows from arbitrary indices), and copies into a CTA pair | the TMA unit | mbarrier, per CTA or CTA pair |
TMA in practice#
- The tensor map is created on the host with the CUDA driver call
cuTensorMapEncodeTiled(or by the library:TensorDescriptor.from_tensorin Triton,make_tiled_tma_atomin CuTe). It records up to 5 dimensions, strides (which must be multiples of 16 bytes), the box (tile) size and a swizzle mode (none, 32, 64 or 128 bytes; 25.c explains why). - Out-of-bounds handling is free. If a box hangs off the edge of the tensor, TMA fills the missing elements with zeros. Kernels no longer need masks for ragged edges on loads.
- Multicast. Inside a thread-block cluster (4.d), one TMA load can be delivered to the shared
memory of several CTAs at once (
.multicast::cluster). Two CTAs that need the same B tile fetch it once from L2. - Stores and reductions.
cp.async.bulk.tensoralso goes shared → global, andcp.reduce.async.bulk.tensoradds into global memory (useful for split-K, 25.e). - Only one thread issues it. A warp elects one lane (
elect.sync) to issue the copy. The other 127 threads of the warpgroup are free.
mbarriers: the synchronisation fabric#
An mbarrier is a 64-bit word in shared memory with an arrival count, a transaction count and a phase bit.
mbarrier.init [bar], count expected arrivals per phase
mbarrier.arrive.expect_tx [bar], 32768 "one arrival, and expect 32 KB to land"
cp.async.bulk.tensor ... [bar] TMA decrements tx-count as bytes land
mbarrier.try_wait.parity done, [bar], phase poll: has the phase with this parity completed?A phase completes when both counts reach zero. Then the phase bit flips and the counts reset, so the same barrier serves the next round. A waiter that asks about the wrong parity either waits forever (deadlock) or sails through before the data has arrived (silent corruption) — the most common bug in hand-written pipelines (section 9).
Barriers come in pairs per buffer: a full barrier (the producer’s data has landed) and an empty barrier (the consumer has finished with the buffer). 25.b builds the ring.
Two proxies, and the fence between them#
The SM has two views of memory: the generic proxy (ordinary loads and stores from threads) and
the async proxy (TMA and the tensor cores). Writes through one are not automatically visible to
the other. When threads write shared memory that TMA or tcgen05.mma will then read (an epilogue
staging tile, or an operand prepared by threads), they must issue fence.proxy.async first. Gluon
calls it fence_async_shared(); CUTLASS C++ calls it cutlass::arch::fence_view_async_shared(). Forgetting it gives
intermittent wrong answers that sanitizers rarely catch (25.l).
Hopper: wgmma#
wgmma.mma_async.sync.aligned.m64n256k16.f32.bf16.bf16 {d0..d127}, a-desc, b-desc, ...- Issued by a warpgroup (128 threads). M is fixed at 64 per instruction; N is any multiple of 8 up to 256; K is 16 for 16-bit types (32 for FP8).
- B always comes from shared memory, described by a 64-bit matrix descriptor (address, leading and stride byte offsets, swizzle). A comes from shared memory or registers.
- The accumulator is in registers, spread across the 128 threads. A 64 × 256 FP32 tile is 128 registers per thread — half the 255-register limit, before any other state.
- It is asynchronous:
wgmma.fencebefore,wgmma.commit_groupafter a batch, andwgmma.wait_group Nto wait until at most N batches are still running. That lets the warpgroup issue the next MMA while the previous one finishes.
Blackwell: tcgen05 and TMEM#
tcgen05.alloc.cta_group::1.sync.aligned.shared::cta.b32 [smem_addr], 512 // one warp allocates
tcgen05.mma.cta_group::1.kind::f16 [d_tmem], a_desc, b_desc, idesc, p // ONE thread issues
tcgen05.commit.cta_group::1.mbarrier::arrive::one.b64 [bar] // arrive when done
tcgen05.ld.sync.aligned.32x32b.x64.b32 {r0..r63}, [taddr] // TMEM -> registers
tcgen05.dealloc / tcgen05.relinquish_alloc_permit // before exitWhat changed from Hopper:
Hopper wgmma | Blackwell tcgen05.mma | |
|---|---|---|
| Issued by | 128 threads together | one thread |
| Accumulator | registers | TMEM |
| A operand | shared or registers | shared or TMEM |
| Largest tile per instruction | 64 × 256 | 128 × 256 per SM, 256 × 256 across a CTA pair (cta_group::2) |
| Completion | wgmma.wait_group | tcgen05.commit → mbarrier |
| Low precision | FP8 | FP8, FP6, FP4 and block-scaled MXFP8/6/4 and NVFP4 (.kind::mxf8f6f4, .kind::mxf4nvf4; 25.g) |
TMEM facts (PTX ISA 9.5, section 9.7.18): per CTA, 128 lanes × 512 columns of 32-bit cells (256 KB). It is allocated dynamically by one warp, in units of 32 columns, always a power of two, and must be freed before the kernel exits. A warp can only read the 32 lanes that match its position in its warpgroup (warp 0 → lanes 0–31, warp 1 → 32–63, and so on), so the epilogue always uses whole warpgroups. CUTLASS 4.8 notes that Rubin (SM107 in CUDA’s numbering) extends TMEM to 576 columns and shared memory to 328 KB per SM.
CTA pairs. With cta_group::2, two CTAs on neighbouring SMs act as one MMA: each holds half of
A and half of B in its own shared memory, and the tensor cores of both SMs compute a 256-row tile.
Each SM stores only half the B tile, which frees shared memory for more pipeline stages. 25.e uses
this.
Not every Blackwell has tcgen05. The PTX manual lists tcgen05 for the SM100 family (B200,
B300) and SM110 (Jetson Thor), not for SM120/121 (RTX 50-series, RTX PRO, DGX Spark). Those use
warp-level mma.sync with new block-scaled FP4/FP6/FP8 variants and have no TMEM. A kernel tuned
for B200 does not run on an RTX 5090 (7.f).
The other pieces you will see#
setmaxnreg(Hopper and later): a warpgroup gives registers back (.dec) or takes more (.inc), so producer warps can run on 24–40 registers while math warps get 232–240 (25.b).- Clusters and DSMEM: CTAs in a cluster share shared memory and barriers; used for multicast and CTA pairs (4.d).
clusterlaunchcontrol.try_cancel(Blackwell): a running CTA can “steal” a not-yet-started CTA’s work, the basis of dynamic persistent scheduling (25.j).griddepcontrol(programmatic dependent launch): lets the next kernel’s prologue start while the previous kernel is finishing (25.j).
6. Under the hood: the same tile in PTX order#
What one Blackwell mainloop iteration issues, in time order, across the roles of 25.b:
producer warp, lane 0:
mbarrier.try_wait.parity empty[s], phase^1 ; is stage s free?
mbarrier.arrive.expect_tx full[s], 32768 ; expect A+B bytes
cp.async.bulk.tensor.2d... sA[s], [tmapA, k, m], full[s]
cp.async.bulk.tensor.2d... sB[s], [tmapB, k, n], full[s]
MMA warp, lane 0:
mbarrier.try_wait.parity full[s], phase ; have A and B landed?
tcgen05.mma.cta_group::1.kind::f16 [acc], descA[s], descB[s], idesc, 1 (x4 for K=64)
tcgen05.commit ... [empty[s]] ; free stage s when these MMAs finish
after the last K step:
tcgen05.commit ... [acc_full] ; accumulator ready
epilogue warpgroup (all 128 threads):
mbarrier.try_wait.parity acc_full, ...
tcgen05.ld.sync.aligned.32x32b.x64.b32 ... ; TMEM -> registers, 32 lanes per warp
tcgen05.wait::ld
cvt / scale / activation in registers
st.shared -> fence.proxy.async -> cp.async.bulk.tensor (store)Note what is absent: no thread computes a global address, no thread holds an A or B element in a register, and the MMA warp’s other 31 lanes are idle by design. The work moved into fixed-function units, and the threads became schedulers.
Two subtleties that bite real kernels:
- The empty barrier is signalled by the tensor core, not by a thread.
tcgen05.commitonempty[s]arrives only when the MMAs that read stage s have finished reading. Releasing the stage when the MMA is merely issued lets TMA overwrite operands still in use. - Descriptors encode the swizzle. The shared-memory descriptor given to the MMA must describe the same swizzle the tensor map wrote. If they disagree, results are wrong but plausible-looking.
7. Performance implications: why asynchrony is not optional#
Little’s law gives how many bytes an SM must have in flight, and how many pipeline stages a GEMM needs to hide HBM latency while its tensor cores run flat out.
// inflight.go — how much data an SM must have in flight to keep HBM and the
// tensor cores busy (Little's law: bytes in flight = bandwidth x latency).
package main
import (
"fmt"
"math"
)
type gpu struct {
name string
bwTBs float64 // HBM bandwidth, TB/s
sms int
latencyNs float64 // assumed loaded HBM latency
bf16TF float64 // dense BF16 tensor TFLOP/s
}
func main() {
gpus := []gpu{
{"H100 SXM", 3.35, 132, 700, 989},
{"B200", 8.0, 148, 700, 2250},
}
// One mainloop step of a GEMM: a 128x128 output tile, K-slice of 64, BF16.
const flops = 2.0 * 128 * 128 * 64 // 2*M*N*K
const tileBytes = (128*64 + 128*64) * 2.0 // A tile + B tile
fmt.Println("GPU in flight per SM 16-B loads/SM step time stages smem for stages")
for _, g := range gpus {
total := g.bwTBs * 1e12 * g.latencyNs * 1e-9 // bytes the whole GPU must have requested
perSM := total / float64(g.sms)
loads := perSM / 16 // as 16-byte vector loads, one per thread instruction
stepNs := flops / (g.bf16TF * 1e12 / float64(g.sms)) * 1e9
stages := math.Ceil(g.latencyNs/stepNs) + 1 // copies in flight while one stage computes
fmt.Printf("%-9s %6.1f MB %5.1f KB %13.0f %7.0f ns %7.0f %10.0f KB\n",
g.name, total/1e6, perSM/1e3, loads, stepNs, stages, stages*tileBytes/1024)
}
}GPU in flight per SM 16-B loads/SM step time stages smem for stages
H100 SXM 2.3 MB 17.8 KB 1110 280 ns 4 128 KB
B200 5.6 MB 37.8 KB 2365 138 ns 7 224 KBHow to read it (the 700 ns latency is an assumption; loaded HBM latency is commonly quoted at 500–1,000 ns):
- Over a thousand loads in flight per SM if threads do the copying. TMA does it with a handful of instructions from one thread.
- Blackwell’s tensor core finishes a 128 × 128 × 64 step in about 140 ns, so 7 stages must be in flight to cover the latency — 224 KB of the 228 KB of shared memory. There is no room left. That is exactly why CUTLASS’s Blackwell tutorial moves to CTA pairs: each SM then holds only half of B, and its own comments compute 4 stages for one CTA versus 7 for a pair.
- Accumulators cannot stay in registers on Blackwell. A 128 × 256 FP32 accumulator is 128 KB; TMEM holds two of them (double buffering), which lets the epilogue of tile t overlap the mainloop of tile t + 1 (25.b, 25.e).
8. Production implications#
- You will rarely write these instructions yourself. cuBLAS, CUTLASS, FlashAttention, FlashInfer,
DeepGEMM and the engines’ own kernels already use them. You need to read them: in Nsight Compute
source views, in kernel names in profiles (
sm90_xmma_gemm_..._tma_warpspecialized,sm100_...ornvjet_...), and in issues about wrong results. - Architecture-specific builds. Kernels using
wgmmaneedsm_90a;tcgen05needssm_100a,sm_100forsm_103a. The “a” suffix means “this exact chip, no forward compatibility”. A wheel built only forsm_90adoes not run on B200; one built forsm_100adoes not run on Rubin. Check theTORCH_CUDA_ARCH_LISTof every kernel package you ship (5.a). - A Hopper-tuned kernel on Blackwell is a performance bug. Code built for
sm_90a(withwgmma) does not load on B200 at all, so the library falls back to an older, portable path that runs far below peak. When you move a fleet to B200 or B300, audit which kernels have SM100 paths. - Consumer Blackwell is a different target. RTX 50 and DGX Spark (SM120/121) lack TMEM and
tcgen05; engines ship separate SM120 kernels (vLLM’sscaled_mm_c3x_sm120.cu,nvfp4_scaled_mm_sm120_kernels.cu).
9. Common mistakes#
- Waiting on the wrong parity. The consumer’s first wait is on phase 0; the producer’s first wait on an empty barrier uses the opposite parity so it passes immediately. Swapping them deadlocks or races.
- Setting the transaction count to the wrong byte total. If
expect_txsays 32 KB and the boxes deliver 24 KB (a smaller edge tile, a changed dtype), the barrier never completes. - Missing
fence.proxy.asyncbetween threads writing shared memory and TMA or tensor cores reading it. - Releasing a stage when the MMA is issued, not when it completes. Use
tcgen05.commit(orwgmma.wait_group) on the empty barrier. - Mismatched swizzle between the tensor map and the MMA descriptor.
- Forgetting to free TMEM (
tcgen05.deallocandrelinquish_alloc_permit); the next CTA on that SM then blocks intcgen05.alloc. - Reading TMEM from the wrong warp. Warp w of a warpgroup can only access lanes 32·(w mod 4) to 32·(w mod 4)+31.
- Assuming “Blackwell” means one target. SM100, SM103, SM110 and SM120 differ.
10. Hands-on exercise#
Needs a Hopper or Blackwell GPU (rented by the hour is fine) with Triton 3.9.
- Run Triton’s
python/tutorials/gluon/04-tma.pyand06-tcgen05.py(Blackwell) or05-wgmma.py(Hopper). Read the comments: they are the best free explanation of the hardware. - Take the blocked matmul above and print its TFLOP/s at M = N = K = 8192 next to
torch.matmul. Expect it to be well under half of cuBLAS. - Break it on purpose: (a) make
mbarrier.expect1 KB too small, (b) removefence_async_shared(), (c) wait onphase ^ 1. Record what happens in each case (hang, wrong result, or apparently nothing) and run once withTRITON_INSTRUMENTATION_MODE=consan(25.l). - Dump the PTX (
kernel.asm["ptx"]on the compiled kernel) and findcp.async.bulk.tensor,mbarrier.try_wait.parity,tcgen05.mmaandtcgen05.ld. - Change the Go program’s latency to 500 and 1,000 ns. How many stages does B200 need in each case, and does it still fit in shared memory without CTA pairs?
11. Interview questions#
- Walk through the data path of one GEMM tile on Blackwell, from HBM to HBM, naming the hardware unit and the synchronisation at each step.
- What is an mbarrier’s transaction count, and why does TMA need it rather than an arrival count?
- How does the phase bit let one barrier be reused, and what goes wrong if a waiter tracks the phase incorrectly?
- Why did NVIDIA move accumulators from registers to TMEM, and let one thread issue the MMA?
- What are the generic and async proxies, and when do you need a proxy fence?
- Why does a Blackwell GEMM need more pipeline stages than a Hopper one, and how do CTA pairs help?
- A kernel compiled for
sm_100afails to load on an RTX 5090. Why?
12. Further reading#
Checked on 13 November 2026.
- [REFERENCE] PTX ISA 9.5 — sections on
cp.async.bulk.tensor,mbarrier,wgmma(9.7.15) andtcgen05/ Tensor Memory (9.7.18) - [REFERENCE] CUDA C++ Programming Guide — asynchronous data copies, TMA, thread-block clusters
- [REFERENCE] Triton Gluon tutorials —
04-tma.py,05-wgmma.py,06-tcgen05.py - [REFERENCE] CUTLASS 4.8.1 and its CuTe DSL Blackwell GEMM tutorial
- [ESTABLISHED] Shah et al., “FlashAttention-3” (2024) — section 3 is a clear account of TMA, wgmma and warp specialisation on Hopper
- Related lessons: memory hierarchy and TMEM (4.d), tensor cores (4.f), FlashAttention (13.l)