paper-with-me

홈 › Papers

Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization

2025-09-16 · Robert Tjarko Lange, Qi Sun, Aaditya Prasad, Maxence Faldor, Yujin Tang, David Ha arxiv

Recent advances in large language models (LLMs) demonstrate their effectiveness in scaling test-time compute for software engineering tasks. However, these approaches often focus on high-level solutions, with limited attention to optimizing low-level CUDA kernel implementations. Additionally, existing kernel generation benchmarks suffer from exploitable loopholes and insufficient diversity in testing conditions, hindering true generalization assessment. To address these limitations, we introduce robust-kbench, a new benchmark for rigorous evaluation of kernel performance and correctness across varied scenarios. Furthermore, we present a comprehensive agentic framework that automates CUDA kernel discovery, verification, and optimization. This pipeline enables frontier LLMs to translate torch code to CUDA kernels and iteratively improve their runtime within our robust evaluation setting. Our sequential workflow first translates PyTorch code into equivalent CUDA kernels. It then optimizes their runtime using a novel evolutionary meta-generation procedure tailored to the CUDA ecosystem, guided by LLM-based verifiers for correctness and efficient filtering. Evaluated on robust-kbench, our approach produces CUDA kernels outperforming torch implementations for practical applications, including forward and backward passes. It can fuse operations and deploy various runtime optimization strategies. The verifier workflow accurately classifies incorrect kernels, enhancing hardware verification efficiency.

📄 PDF Abstract BibTeX arXiv:2509.14279

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

KernelBlaster: Continual Cross-Task CUDA Optimization via Memory-Augmented In-Context Reinforcement Learning

2026-02-15 · Kris Shengjun Dong, Sahil Modi, Dima Nikiforov, Sana Damani 외 arxiv

Optimizing CUDA code across multiple generations of GPU architectures is challenging, as achieving peak performance requires an extensive exploration of an increasingly complex, hardware-specific optimization space. Trad…

Reinforcement Learning

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

2026-02-27 · Weinan Dai, Hanlin Wu, Qiying Yu, Huan-ang Gao 외 arxiv

GPU kernel optimization is fundamental to modern deep learning but remains a highly specialized task requiring deep hardware expertise. Despite strong performance in general programming, large language models (LLMs) rema…

Reinforcement LearningCode Generation

StitchCUDA: An Automated Multi-Agents End-to-End GPU Programing Framework with Rubric-based Agentic Reinforcement Learning

2026-03-03 · Shiyang Li, Zijian Zhang, Winson Chen, Yuebo Luo 외 arxiv

Modern machine learning (ML) workloads increasingly rely on GPUs, yet achieving high end-to-end performance remains challenging due to dependencies on both GPU kernel efficiency and host-side settings. Although LLM-based…

Reinforcement LearningCode Generation

CUDABench: Benchmarking LLMs for Text-to-CUDA Generation

2026-02-13 · Jiace Zhu, Wentao Chen, Qi Fan, Zhixing Ren 외 arxiv

Recent studies have demonstrated the potential of Large Language Models (LLMs) in generating GPU Kernels. Current benchmarks focus on the translation of high-level languages into CUDA, overlooking the more general and ch…

OptiML: An End-to-End Framework for Program Synthesis and CUDA Kernel Optimization

2026-02-12 · Arijit Bhattacharjee, Heng Ping, Son Vu Le, Paul Bogdan 외 arxiv

Generating high-performance CUDA kernels remains challenging due to the need to navigate a combinatorial space of low-level transformations under noisy and expensive hardware feedback. Although large language models can …

Program Synthesis