CUTLASS 3.x: Orthogonal, Reusable, and Composable Abstractions for GEMM Kernel Design

AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.

Why it matters

GPU programmers can now assemble Hopper and Blackwell GEMM kernels from composable building blocks instead of writing architecture-specific code, and FlashAttention-3 already reuses the same abstractions.

Read this as

NVIDIA is updating CUTLASS, its free toolkit for writing fast matrix-multiplication code on NVIDIA GPUs, the calculations behind AI models. Version 3.x organizes the code into five layers of reusable parts, so developers can mix and match pieces rather than rewrite everything for each new chip. Anyone building GPU software, especially for AI, benefits. No pricing is involved; the software is downloadable from GitHub.

NVIDIA's CUTLASS 3.x redesigns its GPU matrix-multiplication library around five composable layers spanning Atom through Device, maximizing implementation coverage across Hopper and Blackwell chips. The tool is open source on GitHub with no licensing cost; the real cost is engineering time to learn its templates. Teams hand-writing GEMM kernels for AI inference or training may reduce that work, and FlashAttention-3 already uses these abstractions. No benchmark figures are given in the post.

CUTLASS 3.x defines a five-layer hierarchy, Atom, Tiled MMA/Copy, Collective, Kernel, Device, where the Collective layer uses dispatch policies like MainloopSm90TmaGmmaWarpSpecialized to specialize mainloops for Hopper TMA warp-specialized execution. The CollectiveBuilder deduces TiledMma, TiledCopy, and SMEM layouts from architecture, operand types, tile shapes, and scheduling criteria, with Auto defaults for stage count and kernel schedule. Kernel-layer GemmUniversal composes collective mainloop and epilogue (with Epilogue Visitor Trees for fusion) into a stateless device kernel wrapped by GemmUniversalAdapter. Examples 49 (Hopper) and 71 (Blackwell Stream-K) illustrate usage; no benchmark numbers are provided.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

CUTLASS 3.x Hopper Blackwell FlashAttention-3 CuTe GemmUniversal CollectiveBuilder

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.5a0

Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.