cuTile, the New/Old Kid on the Block: Python Programming Models for GPUs
summary
cuTile is a new Pythonic tile-based GPU programming model plus Tile IR that compiles array-centric kernels to CUDA and auto-selects mapping and memory strategies for each GPU. It ports LLAMA3 inference in weeks and hits 93% of cuDNN performance on early compiler builds, and a miniWeather stencil port completes in two weeks. Tile semantics use tiles immutable value arrays, loads/stores and views, and currently require power-of-two tile dims while the compiler chooses shared/register/tensor memory and async copy lowering.
AI-written summary · about
chapters (16)
- 0:00Introduction by Bryce
- 0:46GPU vs CPU differences
- 2:10Grid-level GPU programming
- 3:14When to write GPU kernels
- 4:38Tensor cores and portability
- 5:41Introducing tile-level programming
- 6:47CUTile overview and benefits
- 7:53CUTile vs CUDA SYMP
- 11:49Global and tile arrays
- 15:24Tile arrays as values
- 17:09Tile kernel execution
- 19:37Matrix multiply in CUTile
- 21:02Memory layout and views
- 22:45CUTile performance examples
- 24:09CUTile as addition to CUDA
- 25:33Q&A session
