How to Write High-Performance Matrix Multiply in NVIDIA CUDA Tile
AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.
Why it matters
NVIDIA's cuTile framework is now usable today on Blackwell GPUs to write near-cuBLAS-performance matrix multiply kernels without writing CUDA threads by hand.
NVIDIA published a tutorial showing how to write a fast matrix-multiplication kernel in cuTile, a new Python-based GPU programming framework. Instead of managing thousands of individual threads, programmers assign each block of processors a small tile of the output matrix, and cuTile automatically uses the GPU's Tensor Cores. On an RTX 5080, the resulting kernel reaches over 90 percent of PyTorch's cuBLAS performance. It currently works only on NVIDIA Blackwell GPUs.
NVIDIA is positioning cuTile as its next-generation GPU programming model, and this post shows it is already viable: a tutorial kernel hits over 90 percent of cuBLAS performance on an RTX 5080, with swizzled memory mapping cutting memory traffic by 20 percent. The catch is hardware: it requires Blackwell GPUs (compute capability 10.x/12.x) and wider architecture support is still pending in future CUDA Toolkit releases.
The tutorial implements matmul as a cuTile kernel: compile-time constant tile sizes (tm, tn, tk) enable loop unrolling and specialized codegen, ct.mma() invokes Tensor Cores over the K-dimension loop, and a swizzle_2d block-to-tile mapping with GROUP_SIZE_M=8 improves cache locality, cutting memory accesses by 20 percent versus linear row access. Benchmarked on a GeForce RTX 5080 (compute capability 12.0) at matrix sizes 1024-16384, it achieves over 90 percent of PyTorch cuBLAS performance. Code is in the TileGym repository, which includes an autotuner; support is limited to Blackwell architectures.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
cuTile NVIDIA Blackwell RTX 5080 TileGym Tensor Cores ct.mma()
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.