Thread coarsening cuts CUDA matmul kernel to 0.41ms on T4, 1.7x speedup with tiling

goyal__pramod · x · 2026-09-04

Developer shares a CUDA matmul kernel optimization journey: the first version averaged 0.598ms on a T4 (BATCH=8, M=N=K=256); basic tiling brought it to 0.348ms (1.7x), and thread coarsening along one dimension pushed it further down to 0.41ms territory. A hands-on look at tiling plus thread coarsening gains.

Original post →

More from Infra

Infra channel →