Metraipolis › archive › dc_49199f16a228
Understanding GPU Megakernels: Why Residency Can Mislead — arXiv:2611.00495
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.00495
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-03T11:12:33.945Z
- SHA-256 of the archived text
6d73f2f38543edb20316e9f1e7f8513e37d8ac776e6031d8be70a656c66f3366- Stable URL of this page
https://metraipolis.com/documento/dc_49199f16a228
How to cite
Understanding GPU Megakernels: Why Residency Can Mislead — arXiv:2611.00495 — arXiv (en), https://arxiv.org/abs/2611.00495 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_49199f16a228 (Metraipolis archive dc_49199f16a228, sha256 6d73f2f38543edb20316e9f1e7f8513e37d8ac776e6031d8be70a656c66f3366)
BibTeX
@misc{dc49199f16a228,
title = {Understanding GPU Megakernels: Why Residency Can Mislead — arXiv:2611.00495},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.00495},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_49199f16a228; sha256 6d73f2f38543edb20316e9f1e7f8513e37d8ac776e6031d8be70a656c66f3366},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.00495. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Megakernels let one persistent GPU program prepare dependent operators early and execute ready tasks together. We study the benefits and costs of these capabilities by reconstructing two LLM megakernels, ThunderKittens (TK) and VDCores, as separate kernels on H100 using their original operator code. Our results show that CTA residency can misrepresent opportunities for useful overlap in both directions. By overlapping startup and operand loading with programmatic dependent launch (PDL), the reconstructions reduce decode-step latency by 5.7% in TK and achieve comparable performance in VDCores when both executions enforce the required memory ordering. Under whole-operator dependencies, TK's persistent execution still gains more from prefetch, but runtime and completion-signal ordering costs outweigh this advantage. Both startup overlap and prefetch depend on resource availability. Persistent CTAs can reuse storage before retiring, whereas separate successors must acquire their full CTA footprints before initializing or loading operands. This admission constraint in both reconstructions motivates finer resource sharing across kernels. Beyond early preparation, joint execution requires ready work and spare capacity in the bottleneck resource. Reserving SMs for communication can add GEMM waves that erase overlap gains, while filling idle SMs offers little benefit once memory bandwidth is saturated. These findings clarify benefits and costs of megakernels and motivate GPU support for earlier resource reuse across kernels. Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.DC, nuovi lavori del giorno). Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC). Pagina del lavoro: https://arxiv.org/abs/2611.00495 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-11-03T11:00:07.139Z dalla pagina https://arxiv.org/list/cs.DC/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).