Skip to content
Inference Academy

CUDA Kernels

Coalescing and bandwidth-bound kernels, shared-memory tiling and a register-blocked matmul, occupancy and latency hiding, warp-shuffle reductions for softmax and RMSNorm, tensor cores with WMMA, and streams, events and CUDA graphs.

0 of 6 complete

  1. ▶ Up nextPro24 min+50 XPMemory coalescing and bandwidth-bound kernels: copy, stride and transposeHow a warp's 32 loads become 32-byte memory sectors, why strided access can waste most of your bandwidth, how…
  2. Pro28 min+50 XPShared memory tiling and a tiled matmulWhy a naive matrix multiply is starved for data, how shared-memory tiles cut global memory traffic by the tile size…
  3. Pro22 min+50 XPOccupancy, registers and latency hidingWhy a GPU needs many warps in flight to hide memory latency, how registers, shared memory and block size limit the…
  4. Pro26 min+50 XPWarp shuffles and reductions: softmax and RMSNorm kernelsHow threads in a warp exchange registers directly with shuffle instructions, how to build a warp and a block…
  5. Pro24 min+50 XPTensor cores: WMMA, MMA and why fast GEMMs need big tilesWhat a tensor core does in one instruction, how to drive it from CUDA with the WMMA API, why a naive tensor-core…
  6. Pro24 min+50 XPStreams, events and CUDA graphs: timing, overlap and launch overheadHow CUDA orders work with streams, how to overlap copies with compute using pinned memory and several streams, how to…