**Original paper:** [https://arxiv.org/abs/2608.12629v1](https://arxiv.org/abs/2608.12629v1) # Summary: 2026-08-12_22-31-32Z_CAKE_Compiler_AgentCo_DesignforFrontierKernelEvolu.md Saved: 2026-08-13 21:31 Source: 2026-08-12_22-31-32Z_CAKE_Compiler_AgentCo_DesignforFrontierKernelEvolu.md Model: None --- ## Summary The paper introduces CAKE, a compiler‑agent co‑design framework that enables GPU kernel agents to generate hardware‑aware intermediate representation (IR) for kernels. By exposing scheduling decisions and memory operations, CAKE bridges the gap between high‑level programming languages and low‑level GPU execution. The system iteratively refines IR through verification feedback, enabling automated evolution of frontier kernels across NVIDIA architectures. This co‑design reduces reliance on expert hand‑crafted CUDA/PTX while delivering measurable speedups. ## Key Contributions - [Finding 1] CAKE introduces a typed, hardware‑explicit intermediate representation (IR) that explicitly models warp roles, memory movement, synchronization, and pipelines. - [Finding 2] The co‑design loop treats compiler failures as verifier rules, IR primitives, model calibrations, and optimization tactics, enabling continuous improvement of kernel code. - [Finding 3] Empirically, CAKE‑generated kernels achieve up to 2.05× geometric‑mean speedup over state‑of‑the‑art FlashKDA and surpass direct CUDA/PTX baselines by ~1.14×. ## Methodology The authors built a compiler‑agent pipeline where the agent writes CAKE IR, which is then compiled to GPU code via a dispatcher. The harness records verification outcomes (correctness, latency) and feeds them back as constraints or new primitives. This feedback loop generates optimized scheduling decisions without requiring manual expert tuning. ## Results On B200 hardware with an 80‑million‑token budget, the best CAKE IR candidate outperforms FlashML by a factor of 1.144× versus 0.928× for native CUDA/PTX. Across >400 kernel shapes, dispatcher‑backed KNN and KMeans deliver 1.42×–2.12× speedups. The Kimi Delta Attention model reaches a 2.05× geometric‑mean improvement over FlashKDA while passing end‑to‑end serving validation. ## Significance CAKE decouples kernel performance from expert handcrafting, enabling rapid evolution of kernels across heterogeneous GPU generations (Ampere to Blackwell). By treating the compiler as an evolving artifact rather than a static black box, it reduces development time and opens pathways for automated optimization in large language model inference pipelines. ## Related Concepts - Compiler‑Agent Co‑Design - Intermediate Representation (IR) - Verifier‑Driven Optimization - Dispatcher Backend - Geometry‑Mean Speedup Metric