paper-with-me

Papers

KernelGenBench: Can LLMs and Agents Write Efficient Kernels Across Operator Sources and Hardware Platforms?

2026-07-22 · Peiyu Zang, Jian Tao, Jialing Zhang, Yichen Yuan, Wentao Zhang, Guang Liu, Yonghua Lin arxiv

Modern AI systems depend on specialized accelerator kernels, whose development is complicated by increasingly diverse operators and hardware. LLMs and agentic systems promise to automate this work, but existing evaluations do not show whether their performance transfers across operator sources and hardware platforms, or what such transfer costs. We present KernelGenBench, the first unified multi-source and multi-chip infrastructure for evaluating LLM- and agent-generated Triton kernels. With a common Triton target spanning six hardware platforms, it provides the broadest cross-vendor hardware coverage among existing kernel-generation benchmarks. We report two controlled analytical views: KernelGenBench-MS (Multi-Source) covers 210 operators from PyTorch ATen, production vLLM operators, and proprietary cuBLAS routines, while KernelGenBench-MC (Multi-Chip) evaluates a semantically stable 110-operator subset across six hardware platforms. Our evaluation consumed over 15 billion tokens. Agentic execution improved correctness, but no method dominated across sources and platforms: vLLM posed the strongest correctness challenge, cuBLAS set the highest performance ceiling, and AutoKernel accuracy fell from 87% on NVIDIA to 25% on Iluvatar CoreX. These improvements were costly: specialized agents averaged 4.99 million tokens per successful operator, rising to 6.25 million for CUDA Optimized Skill. The results establish operator source, hardware platform, and agentic scaffold as distinct dimensions of kernel-generation capability, and show that success in a familiar source-hardware setting is not a reliable proxy for deployment readiness.

📄 PDF Abstract BibTeX arXiv:2607.27231

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

KernelBench: Can LLMs Write Efficient GPU Kernels?

2025-02-14 · Anne Ouyang, Simon Guo, Simran Arora, Alex L. Zhang 외

Efficient GPU kernels are crucial for building performant machine learning architectures, but writing them is a time-consuming challenge that requires significant expertise; therefore, we explore using language models (L…

GPU

QUICK: Quantization-aware Interleaving and Conflict-free Kernel for efficient LLM inference

2024-02-15 · Taesu Kim, Jongho Lee, Daehyun Ahn, Sarang Kim 외

We introduce QUICK, a group of novel optimized CUDA kernels for the efficient inference of quantized Large Language Models (LLMs). QUICK addresses the shared memory bank-conflict problem of state-of-the-art mixed precisi…

GPUQuantization

MobileKernelBench: Can LLMs Write Efficient Kernels for Mobile Devices?

2026-03-12 · Xingze Zou, Jing Wang, Yuhua Zheng, Xueyi Chen 외 arxiv

Large language models (LLMs) have demonstrated remarkable capabilities in code generation, yet their potential for generating kernels specifically for mobile devices remains largely unexplored. In this work, we extend th…

Code Generation

CAPO: Constraint-Aware Prompt Optimization for LLM Agents

2026-08-17 · Victor Ye Dong, Reid Pryzant, Yi Liu, Jian Jiao arxiv

Large language models (LLMs) are increasingly deployed as agents that rely on system prompts to use tools and complete tasks. Such deployments impose distinct operational requirements, including appropriate tool use, con…

STARK: Strategic Team of Agents for Refining Kernels

2025-10-19 · Juncheng Dong, Yang Yang, Tao Liu, Yang Wang 외 arxiv

The efficiency of GPU kernels is central to the progress of modern AI, yet optimizing them remains a difficult and labor-intensive task due to complex interactions between memory hierarchies, thread scheduling, and hardw…

Code Generation