World's fastest panel QR factorization on B200: how a GPU MODE contestant cracked chained dependencies

A_K_Nain · x · 2026-09-27

gau-nernst took 2nd place in GPU MODE's QR factorization kernel leaderboard on B200, claims the fastest panel QR kernel by a large margin, and open-sourced the code (gau-nernst/gpu-mode-kernels).

The core challenge is chained dependency: the Householder reflector for column n depends on all previous columns, so the outer loop can't be parallelized. His approach:

The competition covered 7+ shapes (batch 20–640, n up to 2048) plus rank-deficient and clustered special cases. A refreshing deep dive into non-LLM GPU kernel engineering — the author learned QR decomposition largely from Codex during the contest.

Original post →

More from coding & agent

coding & agent channel →