paper-with-me

Papers

KernelFoundry: Hardware-aware evolutionary GPU kernel optimization

2026-03-12 · Nina Wiedemann, Quentin Leboutet, Michael Paulitsch, Diana Wofk, Benjamin Ummenhofer arxiv

Optimizing GPU kernels presents a significantly greater challenge for large language models (LLMs) than standard code generation tasks, as it requires understanding hardware architecture, parallel optimization strategies, and performance profiling outputs. Most existing LLM-based approaches to kernel generation rely on simple prompting and feedback loops, incorporating hardware awareness only indirectly through profiling feedback. We introduce KernelFoundry, an evolutionary framework that efficiently explores the GPU kernel design space through three key mechanisms: (1) MAP-Elites quality-diversity search with kernel-specific behavioral dimensions to sustain exploration across diverse optimization strategies; (2) meta-prompt evolution, which co-evolves prompts with kernels to uncover task-specific optimization strategies, and (3) template-based parameter optimization to tune kernels to inputs and hardware. We evaluate this framework on KernelBench, robust-kbench, and custom tasks, generating SYCL kernels as a cross-platform GPU programming model and CUDA kernels for comparison to prior work. Our approach consistently outperforms the baseline methods, achieving an average speedup of 2.3x on KernelBench for SYCL. Moreover, KernelFoundry is implemented as a distributed framework with remote access to diverse hardware, enabling rapid benchmarking and featuring a flexible user input layer that supports kernel generation for a wide range of real-world use cases beyond benchmarking.

📄 PDF Abstract BibTeX arXiv:2603.12440

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Kernel Foundry: A Diagnosis-driven Evolutionary Kernel Optimizer with Multi-Experts

2026-05-08 · Zixuan Huang, Da Chen, Kecheng Huang, Lihao Yin 외 arxiv

Generating high-performance GPU kernels remains challenging due to the need for both correctness and hardware-aware optimization. While large language models (LLMs) show promise in code generation, they often fail to pro…

Code Generation

Constraint-aware Optimization in Auto-Tuning

2026-06-17 · Floris-Jan Willemsen, Stijn Heldens, Rob V. van Nieuwpoort, Ben van Werkhoven arxiv

Automatic performance tuning, or auto-tuning, is a key technique in high-performance computing, enabling applications to adapt to complex and evolving hardware architectures. A central challenge is the need to optimize o…

SwizzlePerf: Hardware-Aware LLMs for GPU Kernel Performance Optimization

2025-08-27 · Arya Tschand, Muhammad Awad, Ryan Swann, Kesavan Ramakrishnan 외 arxiv

Large language models (LLMs) have shown progress in GPU kernel performance engineering using inefficient search-based methods that optimize around runtime. Any existing approach lacks a key characteristic that human perf…

KernelBand: Steering LLM-based Kernel Optimization via Hardware-Aware Multi-Armed Bandits

2025-11-24 · Dezhi Ran, Shuxiao Xie, Mingfang Ji, Anmin Liu 외 arxiv

High-performance GPU kernels are critical for efficient LLM serving, yet their optimization remains a bottleneck requiring deep system expertise. While code LLMs show promise in generating functionally correct code, kern…

Multi-Armed Bandits

Record-Remix-Replay: Hierarchical GPU Kernel Optimization using Evolutionary Search

2026-04-13 · Daniel Nichols, Konstantinos Parasyris, Caetano Melone, Tal Ben-Nun 외 arxiv

As high-performance computing and AI workloads become increasingly dependent on GPUs, maintaining high performance across rapidly evolving hardware generations has become a major challenge. Developers often spend months …