cs.LGApr 1, 2026

CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTe

Authors: Tara Saba, Zhiyang Chen, Jikai Jason Li, Anne Ouyang, Xujie Si, Fan Long

Organizations: Department of Computer Science, University of Toronto · Standard Kernel

Abstract

High-performance GPU kernels are critical to modern machine learning systems, yet developing them remains a manual, expert-driven process. Recent work has explored using LLMs to automate kernel generation, but generated kernels still fall short of carefully tuned references on standardized benchmarks. We present CuTeGen, an agentic GPU kernel synthesis framework that treats kernel development as a structured generate-test-refine workflow over the CuTe abstraction layer. Two design choices distinguish CuTeGen from prior work: targeting CuTe rather than raw CUDA, which exposes performance-critical structures such as tiling and data movement while remaining stable enough for iterative refinement, and a delayed profiling schedule that withholds low-level performance feedback until the kernel's high-level structure has stabilized. On the 209 tasks of KernelBench Level-1 and Level-2, CuTeGen achieves an average speedup of 1.71×\times over PyTorch and outperforms the prior agentic baseline CudaForge (0.89×\times) at comparable per-task generation cost. Code available at https://github.com/taratt/cutegen.git

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generation

    Feb 27, 2026Weinan Dai, Hanlin Wu, Qiying Yu +13GPU Kernel GenerationGPU Kernel Optimization

  2. KernelZero: Co-Evolving Proposer and Coder for Continuously Improved GPU Kernel Generation

    Sep 27, 2026Changxin Ke, Rui Zhang, Zixiang Fang +8GPU Kernel GenerationLLM-Based Program Synthesis