NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Hawkeye: Hardware-Aware GPU Kernel Optimization with Minimal Supervision

Arya Tschand, Kesavan Ramakrishnan, Alexander Ingare, Simon Guo, Jeffrey Ma, Zishen Wan, Simran Arora, Azalia Mirhoseini, Vijay Janapa Reddi

NeurIPS page · OpenReview · Open on the map

Category: LLM Agents, Evals & Benchmarks › GPU Kernel Optimization and Benchmarking · Type: new method · Keywords: GPU kernel optimization, hardware-aware code generation, minimal supervision, unit test taxonomy, autonomous kernel generation

Areas: Code & Coding Agents › Code Generation and Optimization › GPU Kernel Optimization

Summary

Hawkeye is a minimally supervised framework that enables autonomous GPU kernel generation by using a taxonomy of unit tests, allowing coding agents to produce kernels that match or exceed expert-written code across multiple GPU architectures.

Explained to a 5-year-old

Computers called GPUs need special tricks to run fast. People have to write many special tricks for each new type of GPU. A new system helps a robot writer learn these tricks using just a few simple tests. This helps the robot make fast code without a lot of work. It makes the computers run faster and uses less time to make new code.

Explained to a 5-year-old, longer

Computers called GPUs need special tricks to run fast. People have to write many special tricks for each new type of GPU. A new system helps a robot writer learn these tricks using just a few simple tests. The robot can then write code that uses those tricks automatically. This makes the code run quickly without a person having to write every detail. It also saves time because the robot only needs a small number of tests to learn. The system works on many different kinds of GPUs, so it can help many computers. It also works with new, faster GPUs that are being built. This means future computers can be faster without a lot of extra work. The robot writer can even beat the best human-written code sometimes. Overall, it makes programming for fast computers easier and faster.

For a technical reader

The paper addresses the challenge of generating high-performance GPU kernels for new hardware architectures. Existing AI coding assistants lack the hardware-specific knowledge needed for effective optimizations. The authors propose a taxonomy of unit tests that capture each optimization strategy, providing minimal expert supervision to guide autonomous kernel generation. By using only ten expert-written tests per architecture, the approach scales to multiple GPUs and precisions, achieving performance comparable to or better than hand-crafted kernels. This reduces the engineering overhead of supporting emerging accelerators.

Problem

Adapting GPU kernels to new hardware architectures is difficult and requires extensive expert knowledge; existing AI coding agents lack the context to apply hardware-specific optimizations effectively.

Method

The approach defines a comprehensive taxonomy with a single unit test per optimization strategy per target architecture, providing minimal expert supervision to guide autonomous kernel generation.

Results

The approach achieves performance on par with or better than expert-written kernels across multiple GPU architectures and precisions.

Contributions

A minimal supervision scheme using a taxonomy of unit tests enables autonomous kernel generation for diverse GPU architectures, reducing the expert overhead for supporting new hardware.

Limitations and assumptions

The approach depends on expert-written unit tests for each architecture and may not cover all possible optimization strategies.

Practical relevance

It reduces the effort needed to support new GPU hardware, enabling faster deployment of optimized kernels by coding agents.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction