Metraipolis › archive › dc_8e1a31b35a18
CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolution — arXiv:2608.12629
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.12629
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T04:27:23.440Z
- SHA-256 of the archived text
1881b2487d15e7cdb75a233c3323da8ac13bbe7ef805aaab3aec04168dd3a0cd- Stable URL of this page
https://metraipolis.com/documento/dc_8e1a31b35a18
How to cite
CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolution — arXiv:2608.12629 — arXiv (en), https://arxiv.org/abs/2608.12629 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_8e1a31b35a18 (Metraipolis archive dc_8e1a31b35a18, sha256 1881b2487d15e7cdb75a233c3323da8ac13bbe7ef805aaab3aec04168dd3a0cd)
BibTeX
@misc{dc8e1a31b35a18,
title = {CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolution — arXiv:2608.12629},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.12629},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_8e1a31b35a18; sha256 1881b2487d15e7cdb75a233c3323da8ac13bbe7ef805aaab3aec04168dd3a0cd},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.12629. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
GPU kernel agents and GPU programming languages have advanced separately, leaving expert kernels difficult to reproduce. Agents usually treat the compiler as a fixed black box and receive only errors, correctness outcomes, and timing, while existing DSLs either hide critical scheduling decisions or expose them through difficult layout abstractions. We present CAKE, a compiler-agent co-design in which agents author CAKE IR, a typed, hardware-explicit schedule representation. CAKE exposes warp roles, memory movement, synchronization, and pipelines while supporting verification, cost modeling, and localized diagnostics. The harness itself evolves: recurring failures become verifier rules, IR primitives, model calibrations, and reusable optimization tactics. In matched implementation-hidden Flash-KMeans clean starts on B200, the best CAKE IR candidate at an 80-million-token budget runs at 1.144x the tuned FlashML baseline, compared with 0.928x for direct CUDA/PTX. Beyond this benchmark, agent-generated Kimi Delta Attention achieves a 2.05x geometric-mean speedup over official FlashKDA and passes end-to-end serving validation. Dispatcher-backed KNN and KMeans improve performance by 1.42x to 2.12x across more than 400 shapes, and four kernel changes are available as upstream PRs. CAKE targets NVIDIA GPUs from Ampere through Blackwell and separates single-shape evolution from library generalization and dispatch. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-14 in cs.LG). Categorie arXiv: Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2608.12629 — 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-10-19T04:20:35.819Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-08-14?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).