- Rating
- 5
- Clarity
- 4
- Confidence
- 5
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper presents HAWKEYE, a GPU kernel framework designed specifically to make coding agents more hardware-aware when generating GPU kernels. The key observation is that traditional approaches tend to ignore hardware-specific instructions, leading to kernels with suboptimal performance. The key contribution is to provide the agent with a compact taxonomy of expert-written examples, where each one captures a specific optimization strategy for a target GPU architecture. HAWKEYE gives the coding agent small and composable examples that expose architecture-specific primitives. The agent uses this knowledge to iterative generation and refine GPU kernels. The experiments show HAWKEYE can generate kernels kernels with comparable speedups against baseline kernels across various GPU architectures and diverse workloads.
Strengths and weaknesses
Strengths
- High‑performance GPU kernel demands deep expertise, and each new GPU generation introduces new hardware features that complicate portability and require unique optimizations. The paper addresses this core problem by aiming to reduce the expert effort required to support emerging architectures.
- The use of expert‑written unit tests as the interface between developers and coding agents is reasonable, offering a structured taxonomy that is more organized than raw documentation and more reusable than full expert‑crafted kernels.
- The paper conducts a comprehensive evaluation across multiple GPU architectures while also testing multiple precisions. In addition, the cross‑vendor coverage of both NVIDIA and AMD GPUs is especially valuable given how challenging practical CUDA‑to‑AMD portability remains.
Weaknesses
- Dependence on expert-authored unit tests remains a critical limitation. Although the taxonomy is more compact than full expert-written kernels, it still requires experts to identify the relevant optimization patterns, implement representative tests, and encode the expected hardware behavior. The setup cost is not quantified concretely, leaving unclear how much time and GPU expertise are required to support a new architecture. This makes it difficult to separate the contribution of the agent from the human scaffolding.
- The claims of minimality and comprehensiveness appear stronger than the evidence supports. The result that 10 unit tests per architecture are sufficient for the evaluated workloads is compelling, but it does not establish that this set is minimal or broadly comprehensive across the GPU-kernel design space. The evaluation demonstrates usefulness on the selected workloads, but the broader coverage claim remains under-supported.
- The paper's main argument depends on the taxonomy continuing to cover important hardware-specific optimization opportunities as architectures evolve. However, new features are constantly being introduced, examples such as NVSHMEM enable GPU-initiated communication and fine-grained computation/communication overlap, which introduce design of brand new kernels. These may not fit neatly into the current compute, memory, and scheduling taxonomy, so it remains unclear how well the taxonomy would adapt to new optimization classes over time.
- The claimed portability and adaptability to new hardware are not fully separated from architecture-specific supervision. The experiments show that agents perform well after receiving curated examples for each target architecture, but they do not clearly establish what general mechanism transfers across architectures. As a result, the contribution reads more like an effective format for injecting hardware-specific expertise than a general method for discovering or transferring optimization strategies to new hardware.
Questions
- The unit tests appear to provide multiple kinds of information at once: basic hardware syntax/primitives, a working kernel, a usage guide, and a profiling metric. It is therefore unclear which part is essential. A lightweight ablation could remove one component at a time, such as profiling metrics, solution kernels, or usage guides, on one architecture and one or two workloads.
- The paper claims that supporting a new architecture requires only a small number of expert-written unit tests, but the practical value of this claim depends on the cost of writing those tests. Could the authors provide a concrete accounting of how long it took to create the taxonomy for each architecture, and how much debugging/refinement was needed before the tests became useful to the agent on one or two kernels?
Limitations
Yes
Paper formatting concerns
N/A
Final justification
The rebuttal successfully addressed several major concerns regarding the questions raised. The newly added experiments have significantly strengthened the paper. Therefore, I will maintain my score as is.
We thank the reviewer for recognizing the importance of the problem and for the thoughtful questions on setup cost, generalization, and the scope of the taxonomy.
Summary
Setup cost. The one-time effort to build the taxonomy, roughly 200 expert-hours, and the workflow used to construct and validate each cell.
Row-removal ablation. A cumulative ablation showing each exercised taxonomy row contributes to performance.
Cell component ablation. The contribution of the individual artifacts within each taxonomy cell.
Generalization. The taxonomy evaluated on a scientific stencil outside machine learning, with no additional rows.
Scope. Where the current taxonomy applies, with Rubin, Cerebras WSE-3, and multi-GPU kernels as representative extension points.
On setup cost of the taxonomy.
We agree that setup cost is important and should be measured, and will add a concrete accounting to the revision. The full taxonomy across all four architectures was authored by two graduate students with prior industry experience in kernel optimization, over roughly ten full days each, about 200 expert-hours total. The first two days went to row identification, decomposing the open-source kernels we cite (FlashAttention1/2, ThunderKittens, HipKittens, CUTLASS) into recurring optimization regions. The remaining eight went to cell construction, where the iteration and debugging live.
Constructing a cell follows a fixed sequence, which also answers how much debugging each one requires. We first find a profiling counter that cleanly signals the targeted optimization fired, such as tensor-core instruction counts for the MMA row or DRAM throughput for the async pipeline. We then write a unit test sized to isolate that one optimization, and hand-write a solution kernel for it. A solution kernel is accepted only once it passes correctness, improves its targeted profiling metric, and beats the naive baseline end to end. Debugging meant tightening the kernel or the test size until all three signals lined up, and that last requirement keeps each row honest, since a row earns its place only if it improves end-to-end performance (Table 3).
Those 200 hours are a one-time cost that amortizes across workloads, and sit well below the alternatives we already measure. Figure 17 gives wall-clock porting timelines from official project Git histories, showing that porting one kernel library across a single hardware generation has historically taken expert teams months. Triton took 14 months from Hopper to Blackwell and 28 from NVIDIA to AMD, and FlashAttention, ThunderKittens, and PyTorch each took 10 to 24 months per port. The taxonomy took orders of magnitude less effort and scales across workloads, architectures, vendors, and precisions.
On row-removal ablations.
We also add a row-removal ablation quantifying each row's contribution. A workload only exercises the rows its winning kernel composes, so we remove those rows one at a time, cumulatively, most peripheral first, on MI350X against the per-architecture torch reference and B200 against the naive-quadratic reference. Causal Linear Attention in BF16 uses five of the ten and never touches Quantized Precision.
On MI350X performance falls monotonically and every row contributes, from 90.9x with the full context down through 80.9x, 70.6x, 61.2x, 56.4x, and 55.1x as Persistent Scheduling, Multi-Unit Coordination, Async Pipeline, Shared Memory Layout, and the MMA Unit are removed in turn, leaving full context 1.65x above the algorithm-only floor. On B200 the same procedure isolates the foundational row. Each peripheral row costs only a few percent, moving from 76.7x to 62.0x as Producer/Consumer, Epilogue Pipeline, Async Pipeline, and Persistent Scheduling are removed, and dropping the MMA Unit and its tcgen05 path then collapses performance to 4.4x. The rows are therefore not interchangeable. We do not claim the ten are the unique optimal set or a complete representation of the kernel space, but each is load bearing on the workloads we evaluate.
On which components carry the benefit.
We carry out additional experiments that isolate the contribution of each artifact inside a taxonomy cell. On causal Linear Attention in BF16 on MI350X we strip one layer of context at a time, starting from the full cell, then removing the optimization and usage guides, then the abstraction guides, then the executable abstraction code that supplies the solution-kernel primitives, leaving only the task description. Performance degrades monotonically at every step, from 69.5x with the full cell, to 51.2x without the optimization guides, to 24.5x without the abstraction guides, to 21.1x without the abstraction code.
Every component contributes and none is redundant. The largest single drop is a factor of 2.1, from removing the abstraction guides that tell the agent how to apply each primitive, and by the final removal the agent is near the naive floor. No single artifact accounts for the gap, which is what makes a cell more than a prose skill. The benefit comes from pairing each optimization with its guide, its solution kernel, and its verifying counter, and a guide-only skill library provides only the first.
On broader generalization claims.
We agree there are many classes of workloads in the GPU kernel space, and show the taxonomy generalizing beyond ML onto a science kernel. Compared even to KernelBench, TritonBench, and JAXBench, we are the only project evaluating emerging attention variants, which require a broad range of hardware-specific optimizations and matter for hybrid attention models. The taxonomy also addresses compute-bound and memory-bound workloads equally, since five of the ten rows target data movement rather than compute, namely Shared Memory Layout, Vectorized Memory, Async Pipeline, Producer/Consumer, and Multi-Unit Coordination.
Outside ML, we ran the same taxonomy on a finite-difference time-domain stencil from SwizzlePerf, an electrodynamics workload with no tensor-core content and no relation to the workloads in the paper. With the same ten rows and none added, Hawkeye reached 1.12 ms on B200 and 2.50 ms on H100, 4.81x and 3.19x against the strongest baseline in each cell. Reaching this with no new rows is evidence the construction procedure generalizes past the ML workloads it came from, rather than a claim of exhaustive coverage.
On extending the taxonomy to new architectures.
We agree new architectures may yield optimizations outside the current taxonomy, and Rubin and Cerebras WSE-3 are good cases of when this will and will not happen. NVIDIA's recent blog post reveals Rubin will have bigger tensor cores, changing how MMA instructions are packed, along with finer-grained compute and communication pipelining. Those need new unit tests in the MMA Unit and Async Pipeline rows, so by all public accounts Rubin fits the taxonomy.
Cerebras is the other case. Most rows would still hold, but WSE-3 dynamically routes around compute broken by tapeout yield, which only Cerebras needs to handle in software, since when NVIDIA and AMD shut off broken compute there is no locality penalty left, so it would require a new dynamic dataflow row. Async Pipeline would still cover streaming weights from off-chip MemoryX into the on-chip SRAM grid, and Shared Memory Layout their distributed SRAM.
Hawkeye's current scope is day-zero support for single-GPU kernels. The reviewer's NVSHMEM example is different, because multi-GPU kernels are co-designed not only around one device's memory and compute hierarchy, which our rows and columns capture, but around the interconnect topology between devices, including NVLink versus scale-out fabric, collective algorithm choice, and cross-device scheduling. That is a third axis neither our rows nor columns represent, and adding an interconnect axis alongside the architecture columns is valuable future work.
On portability versus architecture-specific supervision.
We agree with the reviewer's framing of the hardware-specific expertise scope. Automatically discovering optimizations, or transferring strategies to new hardware without supervision, is a harder and largely open problem, and not the one Hawkeye solves. Our results show that structured expert input enables hardware-aware kernel optimization across architectures and precisions, and outperforms agents on their own, agents with self-reflective prompt optimization, and agents with documentation in context (Table 2).
Within that scope, the general mechanism is the decomposition of high-performance kernels into recurring optimizations and the context structure that lets agents scale that awareness. The clearest evidence that this is structural rather than per-chip answer injection is the port across vendors. NVIDIA and AMD differ in basic syntax, in the execution and scheduling model with warps and warpgroups against wavefronts and shared memory against LDS, and in the memory and register hierarchy, including AMD's separate AGPR accumulator file and its SRD-descriptor global-to-LDS DMA, which has no TMA analogue. When we extended to MI350, all ten rows carried over with new unit tests and solution kernels for the new programming model, and a genuinely new AMD optimization in chiplet-aware block swizzling fit the existing Multi-Unit Coordination row unchanged. If the mechanism were injecting the correct per-GPU answer, porting from NVIDIA to AMD through the taxonomy would not be possible.
Generalization beyond tensor algebra accelerators is a larger question. GPUs share enough in their compute units, dataflow, throughput optimizations, and data movement pipelining that a single taxonomy structure covers them. Hawkeye sets the foundation for hardware-aware GPU kernel optimization with insights on supervision and scaling, and future work can generalize to new architecture classes or further reduce the supervision required.