Hawkeye: Hardware-Aware GPU Kernel Optimization with Minimal Supervision
Arya Tschand, Kesavan Ramakrishnan, Alexander Ingare, Simon Guo, Jeffrey Jian Ma, Zishen Wan, Simran Arora, Azalia Mirhoseini, Vijay Janapa Reddi
DL4C @ ICML 2026
TL;DR. Hawkeye scales the test-time compute of coding agents over a minimal taxonomy of unit tests to port hardware-aware GPU kernels across architectures, vendors, and precisions.
Abstract. Achieving peak GPU kernel performance increasingly relies on architecture-specific optimizations targeting new hardware features. While AI coding agents show promise in generating performant kernels, they lack the necessary context to effectively implement and stack hardware-specific optimizations, especially on newer GPU architectures. We propose Hawkeye (Hardware-Aware Kernel Optimization), an open-source framework that grounds autonomous kernel generation in a minimal and comprehensive taxonomy with only one unit test per optimization strategy per target architecture. Supporting a new accelerator therefore requires only 10 expert-written unit tests per architecture (one per recurring optimization strategy) that generalize across downstream workloads, rather than hand writing a new kernel for each workload and precision. Hawkeye effectively scales the test-time compute of coding agents with this minimal expert supervision to enable kernel generation that consistently leverages hardware-specific features, approaching and even surpassing expert-written PyTorch or Triton in BF16 and emerging low precision (FP8, NVFP4, MXFP4) across Ampere, Hopper, Blackwell, and MI350 GPUs. Hawkeye demonstrates that minimally supervised coding agents can exploit architecture-specific hardware features and reduce the overhead of supporting emerging hardware accelerators.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper addresses an important and timely problem: how to reduce the expert effort required to support new GPU architectures when generating high-performance kernels with coding agents. The paper proposes Hawkeye, a framework that organizes architecture-specific optimization knowledge into a compact taxonomy of ten recurring optimization strategies, where each architecture is represented by a small set of expert-written unit tests, optimization guides, and profiling signals. The evaluation spans various GPUs from NVIDIA and AMD and covers multiple precisions including BF16, FP8, NVFP4, and MXFP4, and a diverse set of workloads. The results show that Hawkeye consistently outperforms alternative agent-context formulations and often approaches or exceeds expert-written implementations.
The paper’s primary strengths are its practical significance, clear system design, and comprehensive evaluation. Reviewers appreciated the use of executable, profiler-grounded examples rather than raw documentation, as well as the broad evaluation across multiple architectures, vendors, precisions, and emerging attention workloads. The cross-vendor evaluation on both NVIDIA and AMD hardware is particularly valuable. Several reviewers also found the extensive empirical comparisons against alternative context structures and expert baselines convincing.
The main weaknesses concern the scope and generality of the proposed taxonomy. Multiple reviewers questioned whether the ten optimization categories are truly minimal or sufficiently comprehensive to cover future architectures and broader classes of kernels. The evaluation is focused primarily on tensor-algebra workloads, making it unclear how well the taxonomy extends to more irregular workloads such as sparse, graph, or communication-intensive kernels. One reviewer further viewed the main contribution as a structured organization of hardware-aware expertise rather than a fundamentally new optimization mechanism.
The authors responded thoroughly to these concerns. The rebuttal provided quantitative estimates of the setup cost, detailed descriptions of the taxonomy-construction process, and additional evaluations on memory-bound operators and a scientific stencil workload beyond the original attention and GEMM-centric benchmarks. These additions substantially strengthened the paper and addressed most of the reviewers’ concerns. While some questions regarding the ultimate completeness of the taxonomy remain open, reviewers generally agreed that these concerns do not undermine the central contribution.
Overall, I recommend Accept (poster). The paper presents a novel and practically useful framework for scaling hardware-aware kernel optimization with coding agents, supported by a strong empirical evaluation across architectures, vendors, precisions, and workloads. Although the completeness and long-term generality of the taxonomy remain open research questions, the proposed approach significantly reduces the expert effort required to support emerging hardware and provides valuable insights into structuring hardware-aware knowledge for autonomous kernel optimization.
Final justification
Overall, I recommend Accept (poster). The paper presents a novel and practically useful framework for scaling hardware-aware kernel optimization with coding agents, supported by a strong empirical evaluation across architectures, vendors, precisions, and workloads. Although the completeness and long-term generality of the taxonomy remain open research questions, the proposed approach significantly reduces the expert effort required to support emerging hardware and provides valuable insights into structuring hardware-aware knowledge for autonomous kernel optimization.
Read meta-review
Meta-review
This paper addresses an important and timely problem: how to reduce the expert effort required to support new GPU architectures when generating high-performance kernels with coding agents. The paper proposes Hawkeye, a framework that organizes architecture-specific optimization knowledge into a compact taxonomy of ten recurring optimization strategies, where each architecture is represented by a small set of expert-written unit tests, optimization guides, and profiling signals. The evaluation spans various GPUs from NVIDIA and AMD and covers multiple precisions including BF16, FP8, NVFP4, and MXFP4, and a diverse set of workloads. The results show that Hawkeye consistently outperforms alternative agent-context formulations and often approaches or exceeds expert-written implementations.
The paper’s primary strengths are its practical significance, clear system design, and comprehensive evaluation. Reviewers appreciated the use of executable, profiler-grounded examples rather than raw documentation, as well as the broad evaluation across multiple architectures, vendors, precisions, and emerging attention workloads. The cross-vendor evaluation on both NVIDIA and AMD hardware is particularly valuable. Several reviewers also found the extensive empirical comparisons against alternative context structures and expert baselines convincing.
The main weaknesses concern the scope and generality of the proposed taxonomy. Multiple reviewers questioned whether the ten optimization categories are truly minimal or sufficiently comprehensive to cover future architectures and broader classes of kernels. The evaluation is focused primarily on tensor-algebra workloads, making it unclear how well the taxonomy extends to more irregular workloads such as sparse, graph, or communication-intensive kernels. One reviewer further viewed the main contribution as a structured organization of hardware-aware expertise rather than a fundamentally new optimization mechanism.
The authors responded thoroughly to these concerns. The rebuttal provided quantitative estimates of the setup cost, detailed descriptions of the taxonomy-construction process, and additional evaluations on memory-bound operators and a scientific stencil workload beyond the original attention and GEMM-centric benchmarks. These additions substantially strengthened the paper and addressed most of the reviewers’ concerns. While some questions regarding the ultimate completeness of the taxonomy remain open, reviewers generally agreed that these concerns do not undermine the central contribution.
Overall, I recommend Accept (poster). The paper presents a novel and practically useful framework for scaling hardware-aware kernel optimization with coding agents, supported by a strong empirical evaluation across architectures, vendors, precisions, and workloads. Although the completeness and long-term generality of the taxonomy remain open research questions, the proposed approach significantly reduces the expert effort required to support emerging hardware and provides valuable insights into structuring hardware-aware knowledge for autonomous kernel optimization.
Final justification
Overall, I recommend Accept (poster). The paper presents a novel and practically useful framework for scaling hardware-aware kernel optimization with coding agents, supported by a strong empirical evaluation across architectures, vendors, precisions, and workloads. Although the completeness and long-term generality of the taxonomy remain open research questions, the proposed approach significantly reduces the expert effort required to support emerging hardware and provides valuable insights into structuring hardware-aware knowledge for autonomous kernel optimization.
1 comment
- Rating
- 5/6
- Confidence
- 5/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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
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.
Formatting concerns
N/A
2 comments
Rebuttal
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.
I appreciate the authors' effort in adding more evaluations. I will keep my score unchanged.
- Rating
- 3/6
- Confidence
- 5/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes a framework for hardware-aware agentic GPU kernel optimization with minimal expert supervision. The key idea is to provide coding agents with a small taxonomy of architecture-specific unit tests, where each unit test demonstrates one recurring optimization strategy for a target GPU architecture. The paper evaluates Hawkeye across multiple workloads, precisions, and hardware platforms, including NVIDIA Ampere/Hopper/Blackwell and AMD MI350.
Strengths and weaknesses
Strengths
-
The paper studies an important problem. Supporting different hardware architectures and workloads via coding agent is increasingly valuable.
-
The proposed unit-test taxonomy is a reasonable. It is more concrete than raw hardware documentation, but more modular than giving the agent a full expert-written kernel.
-
The evaluation is quite broad. The paper covers multiple hardware generations, both NVIDIA and AMD GPUs, several precisions, and different workload types. This makes the main empirical claim stronger.
Weaknesses
-
The paper has limited discussion of programming backends. The proposed system appears to mainly generate native CUDA/HIP kernels. In practice, the same optimization must be expressed through a specific backend, such as CUDA, Triton, TileLang, CuTeDSL, or other kernel DSLs. It is unclear whether Hawkeye's unit-test taxonomy is backend-agnostic or tied to native CUDA/HIP generation.
-
The related-work comparison is incomplete. The paper compares against several context structures, such as raw hardware documentation, curated docs, PTX abstractions, expert kernels, and DSL code. However, it should also discuss recent hardware-aware kernel-generation systems such as KernelFoundry and KernelAgent. These works are closely related to Hawkeye's goal.
-
The comparison with agent skills is not fully convincing. The paper treats skills as mostly static programming guides and contrasts them with Hawkeye's executable unit-test taxonomy. However, Hawkeye's unit tests, guides, and profiling metrics could themselves be packaged as hardware-aware agent skills. The paper should clarify whether its contribution is a new alternative to skills, or a better structured form of skills. (https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills)
Questions
-
Hawkeye appears to mainly generate native CUDA/HIP kernels. Since modern DSL backends such as TileLang and CuTeDSL can also expose hardware-specific interfaces for different GPUs, could the authors clarify whether the taxonomy can be reused across such backends, or whether each backend would require its own unit-test taxonomy?
-
The paper compares Hawkeye with several context structures, but does not clearly discuss KernelFoundry or KernelAgent:
- KernelFoundry: https://arxiv.org/pdf/2603.12440
- KernelAgent: https://pytorch.org/blog/kernelagent-hardware-guided-gpu-kernel-optimization-via-multi-agent-orchestration/
How does Hawkeye differ from these systems in terms of search strategy, hardware guidance, required expert input, supported backend, and evaluation setting?
-
The paper contrasts Hawkeye with agent skills, but Hawkeye's unit tests and guides could also be packaged as agent skills. What is the intended distinction between Hawkeye's taxonomy and a skill library containing executable tests, profiling scripts, and architecture-specific knowledge and examples? Is the main contribution the skill interface, the taxonomy structure, or the executable unit-test grounding?
Limitations
yes
Final justification
The rebuttal clarified the generalization across programming backends and better positioned Hawkeye relative to KernelFoundry, KernelAgent, and agent skills. However, I still view the main contribution as a structured and executable organization of existing agent-skill ideas, so my concern about limited technical originality remains and I kept my score at 3.
Formatting concerns
none
3 comments
Rebuttal
We thank the reviewer for recognizing the importance of the problem and for the thoughtful discussion of programming backends, related systems, and agent skills.
Summary
-
Programming backends. What transfers across CUDA and HIP and what must be rewritten, using the MI350 port as a concrete example.
-
Native CUDA and HIP. Why native backends are the right target for emerging architectures where compiler support is still developing.
-
Related systems. An expanded comparison with KernelFoundry and KernelAgent, each related to the corresponding Hawkeye baseline.
-
Agent skills. Hawkeye as a structured and executable form of agent skills, supported by an agent-skill baseline and a component-removal ablation.
-
Novelty. What Hawkeye contributes relative to prior autonomous kernel optimization systems.
On the programming backend and generalizability to other DSLs.
Defining the target backend matters, especially given our focus on porting across architectures. Even within the current taxonomy, CUDA and HIP are completely different backends requiring new unit tests, and the structure still generalized across them with strong porting performance. A row exists wherever the backend exposes an optimization to the programmer, so the row set follows how much hardware a backend surfaces. CuTeDSL exposes tcgen05, TMA, TMEM, and explicit layouts directly, so nearly every row carries over with only the syntax changing. Triton handles shared memory and tensor-core operand packing itself, so rows like Shared Memory Layout are absorbed and drop out of the column, and TileLang falls between the two. The profiling counters never move, since NCU and Rocprof measure what the hardware did rather than what the source language said. Supporting a new backend therefore means rewriting the unit tests, solution kernels, and skill markdowns and updating the evaluation infrastructure, not rediscovering how the context should be organized.
We target native CUDA and HIP because they expose hardware awareness directly to the programmer, which is the property the method exploits. High-level DSLs like Triton, TileLang, and CuTeDSL are widely and successfully used because they abstract those details away and rely on the compiler, which makes kernel programming easier but caps performance at what the compiler can generate. Raw CUDA and HIP are harder because hardware-specific optimization becomes the programmer's responsibility, but they expose the highest ceiling (Georgiou et al., Less is More, 2018).
Triton illustrates both sides, and the day-zero setting is where they separate. Its block-level model hides thread-level concerns like operand packing and shared-memory management, and on Ampere and Hopper it is competitive with hand-written CUDA, which is why the community writes Flash Linear Attention in Triton. We do not claim to beat expert Triton on those mature architectures, and our results reflect that (Figure 4). On Blackwell, where the backend is still maturing and makes incorrect compilation decisions (Optimal Software Pipelining and Warp Specialization for Tensor Core GPUs, 2025), we exceed expert Triton FLA by 2.19x on Forgetting Attention. The FLA kernels are not poorly written, since they perform strongly on A100 and H100. The compiler simply cannot yet generate the best hardware-specific optimizations for a new target, which is also why DSLs take months to port to each architecture (Figure 17), and that gets harder as the programming model grows (Figure 1). Hawkeye's core insight is the context structure rather than the CUDA and HIP artifacts, which we will make explicit in the revision.
On comparisons to KernelFoundry and KernelAgent.
We thank the reviewer for pointing to these closely related systems that explicitly target hardware awareness or guidance. We reference KernelFoundry in Table 4 and will add fuller discussion of both to the main paper. Here we compare along the five axes of search strategy, hardware guidance, expert input, backend, and evaluation setting.
KernelFoundry targets Intel GPUs and an NVIDIA RTX consumer GPU with quality-diversity search and prompt optimization over a templated kernel surface, which places its evaluation setting well apart from ours, since NVIDIA and AMD datacenter GPUs have distinct architectures. On expert input, it relies on templated kernels, whereas we make the hardware-aware context explicit as ten unit tests per architecture rather than learning it through prompt optimization. On search strategy, our GEPA baseline is a close proxy for its core mechanism, population-based reflective prompt evolution over a fixed context, and it significantly underperforms Hawkeye on every architecture (Table 2). Adding Intel and RTX support as additional taxonomy columns would enable a more direct comparison, and we see that as valuable future work.
KernelAgent targets a different backend, and our PTX documentation baselines closely match its hardware-guided component. It orchestrates multiple agents with retrieval over hardware documentation to generate Triton kernels, which is a close proxy to our raw-PTX-docs and augmented-PTX-docs baselines, both of which significantly underperform Hawkeye because documentation supplies primitives without the cross-primitive composition recipe (Section 4.4, Table 5). Its guidance comes from profiling feedback where the agent must interpret profiler dumps to infer bottlenecks, whereas the taxonomy binds a specific profiling metric to each optimization, so the signal tells the agent whether that optimization affected performance rather than only that the kernel is slow (Section E.1). On expert input, it depends on hand-written documentation, while our ten unit tests per column amortize across every downstream workload and precision, and because it generates Triton it also faces the day-zero challenges above.
Hawkeye is orthogonal to the search strategies of both systems. We use OpenHands out of the box with a 100-turn budget, and both prior systems contribute orchestration frameworks that are alternatives to it. Since the harness is not our contribution, the taxonomy can be used by any agentic search or orchestration framework that can index the artifacts and profile kernels.
On the relationship to agent skills.
We agree with this framing and will state it directly in the revision. Hawkeye is a structured and executable form of agent skills, not an alternative to them. We do not claim skills are the wrong interface, and distributing the taxonomy as a skill library with linked code artifacts would be quite powerful. Our contribution is how to structure a taxonomy of hardware-specific optimizations and organize each cell to give the minimal context needed to generate performant kernels.
The structure provides two properties a static skill library does not. The first is the row-by-column factorization, which bounds per-architecture expert effort to the number of optimization strategies rather than workloads multiplied by precisions, so a new accelerator costs ten unit tests regardless of how many workloads the agent later optimizes. The second is executable grounding. A skill in Anthropic's sense is a markdown guide the agent indexes into context, one of four artifacts in each cell. Each cell pairs it with a unit test that isolates the optimization, an expert-authored solution kernel the agent can read or invoke, and a profiling config mapping a hardware counter to that optimization. The skill tells the agent when and how to apply an optimization, and the executable artifacts let it verify the targeted feature was actually used rather than inferring success from a runtime change, which is what lets it attribute and revert individual optimizations within a trajectory (Section E.1).
We also evaluate the importance of both the agent skill and corresponding artifacts. Our agent-skill baseline is a real community-adopted skill library, the HuggingFace CUDA-kernels skill, run under an identical harness, backbone, and turn budget. It reaches 0.23x BF16 and 0.03x low-precision geomean against torch.compile (Table 2), an order of magnitude below the taxonomy under the same delivery mechanism. The skill inside each cell uses the same indexable markdown format as that public library, so the gap is direct evidence that the contribution is not the skill interface itself. The same pattern holds across all six context structures we evaluate with two backbones and four architectures (Section 4.4, Table 5), where every alternative plateaus or collapses on at least one architecture and Hawkeye is the only one that scales on all of them.
In our component-removal ablation on causal Linear Attention in BF16 on MI350X, stripping one layer at a time from the full cell gives 69.5x with everything, 51.2x without the optimization guides, 24.5x without the abstraction guides, and 21.1x without the executable abstraction code, leaving only the task description. No single artifact accounts for the gap, so the contribution is the structure that pairs each optimization with its guide, its solution kernel, and its verifying counter.
On what is new relative to prior work.
Prior autonomous kernel optimization systems either contribute a search or orchestration strategy over an unstructured context, or inject hardware knowledge as documentation, templates, or static skills. Hawkeye contributes the context structure itself, factorized as recurring optimization strategies crossed with target architectures, with each cell grounded in an executable unit test and a profiling counter that verifies the optimization fired. That structure is what makes per-architecture expert effort independent of workload count, and the six-way comparison isolates its effect. We are not aware of prior work evaluating hardware-aware kernel generation across four frontier architectures, two vendors, and four precisions including FP8, NVFP4, and MXFP4.
Thank you for the detailed rebuttal; the clarifications on backend generalizability, related systems, and agent skills improve the paper’s positioning, but my concern about limited technical originality remains, so I will keep my score unchanged.
Rebuttal Comment to Reviewer rshB
Thank you for the follow up and feedback! We are glad that the rebuttal clarified concerns regarding the programming backends, generalizability of the methodology to alternative DSLs, comparisons to KernelFoundry and KernelAgent, and relationships to agent skills. We agree that these improvements will greatly strengthen the clarity and positioning of the paper, and will update the manuscript accordingly.
We also appreciate your thoughts on technical originality. Regarding novelty, Hawkeye contributes a structured taxonomy that enables coding agents to port efficient GPU architectures, vendors, and precisions. Hawkeye shows that baselines without expert input are insufficient for generalized hardware-aware kernel optimization, and contributes insights on reducing the expert effort required to support emerging GPU architectures. To the best of our knowledge, no prior work has explored minimal expert input to scale the hardware-awareness of coding agents for GPU kernel optimization, and no prior work has evaluated on the breadth of hardware (A100, H100, B200, MI350), precisions (FP8, NVFP4, MXFP4), and emerging workloads (Linear Attention, Forgetting Attention, DeltaNet). We hope that the taxonomy, evaluation methodology, and overall insights from this work will set the foundation for increased generalizability to other NVIDIA/AMD architectures (Rubin and MI400), alternative hardware (Cerebras, Etched, Intel, etc.), and new workloads.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work addresses the central challenge of enabling coding agents to generate hardware-aware GPU kernels for new accelerator architectures with minimal expert supervision. To this end, the paper proposes HAWKEYE, a taxonomy-based framework that organizes architecture-specific optimization knowledge into a compact set of unit tests, allowing agents to compose hardware-aware optimizations effectively. The approach is evaluated across multiple GPU architectures, precisions, and workloads, demonstrating strong performance improvements over existing agent-based baselines and competitive results against expert-written kernels.
Strengths and weaknesses
Strengths
-
The paper presents a well-motivated framework that structures architecture-specific knowledge into a taxonomy of optimization strategies, offering a principled way to guide coding agents toward hardware-aware kernel optimization.
-
It targets a practically significant challenge, as porting kernels to new GPU architectures typically demands months of expert effort, with the proposed approach aiming to reduce this to hours.
-
The evaluation is thorough, spanning multiple GPU architectures (Ampere, Hopper, Blackwell, MI350), precisions (BF16, FP8, NVFP4, MXFP4), and workloads including GEMM, Conv2D, and several attention variants.
Weaknesses
-
The cost and effort required to create the ten unit tests are not quantified. Developing such tests likely requires substantial architecture-specific knowledge, implementation effort, and iterative validation. These human and engineering costs should be explicitly measured and discussed, as they may significantly affect the practicality and scalability of the proposed approach.
-
The evaluation is limited primarily to dense numerical kernels, including GEMM-based operations and attention variants. As a result, the generalizability of the method to irregular workloads, e.g., graph analytics, sparse computations, and communication-intensive kernels, remains unclear. Thus, the paper's broader claims regarding hardware-aware kernel optimization are not yet fully substantiated.
-
The paper lacks a comprehensive analysis of computational cost and efficiency. Metrics such as GPU-hours, wall-clock optimization time, human efforts, and monetary cost are essential for assessing the real-world practicality and deployment value of the proposed framework.
Questions
-
How were the ten taxonomies determined? Are they derived from a systematic analysis, expert knowledge, or empirical observations? Additionally, what evidence supports that these taxonomies are sufficiently comprehensive and generalizable to remain effective for new or previously unseen hardware architectures?
-
The authors should provide quantitative engineering-hour estimates for constructing architecture columns for Ampere, Hopper, Blackwell, and MI350, as the claimed requirement of only ten unit tests does not adequately capture actual expert effort.
-
How sensitive is performance to the taxonomy design, specifically, what happens when optimization categories are removed, merged, or expanded, and could a taxonomy ablation study be provided to validate the "minimal" claim?
-
Have the authors evaluated the transferability of unit tests beyond GEMM, convolution, and attention variants to workloads such as sparse operators, graph workloads, FFTs, or reduction-heavy kernels?
-
Other than Torch.Compile and Triton, are there any other SOTA baseline approaches that can be compared against the proposed method?
Limitations
Yes
Formatting concerns
No
1 comment
Rebuttal
We thank the reviewer for recognizing the practical motivation of the work and for the thoughtful questions on setup cost, evaluation breadth, and taxonomy design.
Summary
-
Setup cost. The effort required to build the taxonomy, roughly 200 expert-hours, and where that effort is spent.
-
Project cost. Total GPU cost of 14,629 USD with a breakdown of what it includes, and about 40 minutes of wall-clock time per trajectory.
-
Broader evaluation. Three standalone memory-bound operators and a scientific stencil, beyond the attention kernels in the paper.
-
Taxonomy validation. The derivation procedure for the ten rows, plus a row-removal ablation showing each exercised row contributes to performance.
-
Baselines. Why torch.compile with max-autotune and expert Triton FLA are the strongest practical baselines for these workloads.
On derivation of the 10 rows.
We derived the rows from community-adopted frameworks that had to change substantially for each new architecture, namely FlashAttention-1 and 2, ThunderKittens, HipKittens, and CUTLASS. We split each kernel into contiguous regions, cutting wherever the code stops expressing the algorithm and starts issuing or staging a hardware instruction family, then diff the same kernel across architecture versions and workloads to see which regions change with the target chip and which recur with the algorithm.
A region becomes a row only when three conditions hold together. It has to recur across workloads, change implementation across GPU architectures, and have a profiling counter that isolates it. Candidates sharing an instruction family and a counter are merged, which keeps the set from growing with every new instruction. Applying this to the five frameworks yields exactly ten rows, which is the sense in which the set is minimal rather than uniquely optimal. The ablation below shows each row is load bearing on the workloads we evaluate, and beyond the region-level derivation in Appendices A.4 and A.5 the revision will map every row to the FlashAttention, ThunderKittens, or CUTLASS construct that grounds it.
On generalization to new hardware.
The AMD MI350 results are our strongest signal, since it is a new vendor and a new architecture. Its architecture resembles H100, but the programming model differs from the ground up, so the syntax underneath every optimization strategy changes too (AMD ROCm HIP Porting Guide). MI350 also introduced chiplet block swizzling, with no publicly announced analogue on NVIDIA GPUs, and it fit the existing Multi-Unit Coordination row unmodified. Adding the column required authoring and validating the ten MI350 cells and moving the pipeline to ROCm.
Rubin is a useful case for an unreleased chip. A recent NVIDIA blog post reveals bigger tensor cores, changing how MMA instructions are packed, and 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 (NVIDIA Rubin Architecture Blog).
On the cost of creating the taxonomy.
We agree cost is an important axis for evaluating Hawkeye 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 using the procedure above, and the remaining eight to cell construction, where the iteration and debugging live.
Constructing a cell follows a fixed sequence, which also answers the debugging question. 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 optimization, a naive kernel avoiding the targeted feature so the counter sits at the floor, and the solution kernel by hand. A cell is accepted only once its solution kernel passes correctness, improves its targeted metric, and beats the naive baseline end to end. Debugging meant tightening the kernel or the test size until those three signals lined up, and that last requirement keeps a row honest (Table 3).
Those 200 hours are a one-time cost that amortizes across workloads, and sit far 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 evaluation beyond dense kernels.
The workloads evaluated in Hawkeye have important non-GEMM sub-workloads like reductions, and we also show case studies on new workloads. All four attention variants we report use reductions as a central step, handled by the Warp/Wave Reduction row, and five of the ten rows target data movement rather than compute, so the taxonomy already addresses the bottlenecks that dominate memory-bound kernels.
Our additional results add standalone memory-bound operators outside the attention family, RMSNorm and softmax at M=N=8192 and a reduction kernel at M=8192, N=16384, on H100 and B200 in BF16. These exercise a different subset of the taxonomy, primarily Vectorized Memory, Warp Reduction, and Persistent Scheduling, with no tensor cores or async-copy primitives. Against the strongest baseline in each cell, torch.compile or the native PyTorch ATen kernel, Hawkeye is 1.20x to 4.62x faster, reaching 1.46x and 1.25x on RMSNorm, 2.92x and 4.62x on softmax, and 1.20x and 1.56x on the reduction.
We also ran the same taxonomy outside machine learning, on the finite-difference time-domain stencil from SwizzlePerf, an electrodynamics workload with no tensor-core content and no relation to the kernels the taxonomy came from. With no rows added, Hawkeye reached 1.12 ms on B200 and 2.50 ms on H100, 4.81x and 3.19x over the strongest baseline in each cell, evidence the construction procedure generalizes past ML.
Hawkeye's current scope is the taxonomy structure across ML kernels, and future work will evaluate the irregular workloads the reviewer raises. Sparse operators and graph analytics still rely on many primitives the taxonomy represents, and their extra difficulty comes from irregularity in the workload itself, which could be layered above the existing rows or derived as new rows from sparse and graph frameworks. We will state this scope in the revision.
On computational cost and efficiency.
We report full project cost, not just the cost of the reported runs. NVIDIA evaluations ran on Modal, which bills per GPU-second, and MI350 evaluations on hardware from AMD and our lab. Attributing spend by application name, total GPU cost over the project lifetime is 14,629 USD, covering four architectures, six workloads, four precisions, all baseline re-measurements, and every failed iteration. Amortized over the 51 kernels released with the paper, that is roughly 287 USD of GPU time per kernel.
The marginal cost of one kernel is far lower, since that figure includes all exploration. The agent runs on the host and dispatches only compile-and-evaluate steps to the GPU, so LLM tokens dominate. A single 100-turn trajectory takes about 40 minutes end to end, covering agent inference, compilation, and GPU execution, and costs about 4 to 5 USD in API tokens at public Gemini 3.1 Pro rates of 2.00, 0.20, and 12.00 USD per 1M input, cached-input, and output tokens.
On row-removal ablations.
We 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, with each chain a separate sweep. Causal Linear Attention in BF16 uses five of the ten and never touches Quantized Precision.
On MI350X, against the per-architecture torch reference, performance falls monotonically from 90.9x with the full context 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, against the naive-quadratic reference, each peripheral row costs 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. Sweeping every cell is expensive in GPU time, so Linear Attention on two architectures is the representative study.
On baselines beyond torch.compile and Triton.
We evaluate torch.compile and Triton FLA, which are the strongest public baselines available. torch.compile with max-autotune tunes the parameterized inputs and dispatches to NVIDIA's expert-tuned libraries underneath, cuBLAS for GEMM, cuDNN for convolution, and FlashAttention through SDPA (Section 3), so on the established workloads this compares against years of vendor optimization, not a narrow compiler baseline.
For the emerging attention variants no compiler performs well, which is why practitioners hand-write Triton kernels in the Flash Linear Attention library, the only community-adopted expert implementation we know of, so across all six workloads we compare against a human expert upper bound (Section 4.2, Figure 4). We are not aware of another compiler or kernel baseline targeting both NVIDIA and AMD here, and would gladly evaluate any reference the reviewer suggests.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Hawkeye generates architecture-aware GPU kernels using an agent guided by a taxonomy of ten recurring optimization strategies. Each architecture is a column of expert-written examples, implementation guides, and profiling signals for the ten strategies. The agent retrieves and composes these examples while iteratively compiling, validating, profiling, and optimizing kernels.
Strengths and weaknesses
Strengths
- The paper is well written and presents a comprehensive set of experiments across several recent GPU architectures, vendors, workloads, and numerical formats.
- The central idea is compelling: instead of retraining a model or bloating model context with extremely large hardware manuals, HAWKEYE exposes architecture-specific knowledge through small, executable, profiler-grounded examples.
Weaknesses
- Agentic code optimization is highly stochastic, but the paper primarily reports individual trajectories. To establish robustness, the authors should report results across multiple independent runs, including variance or standard deviation, at least for a representative subset of benchmarks given the cost of the experiments.
- The proposed taxonomy is largely derived from compute-intensive GEMM and attention kernels, but is presented as a general comprehensive taxonomy. Memory-bound kernels such as softmax, RMSNorm/LayerNorm, fused elementwise and normalization chains, and operators common in diffusion models could rely on what is arguably a different optimization vocabulary. These workloads constitute an important fraction of real model execution but are absent from both the taxonomy's derivation sources and the evaluation.
- The claims of the paper that the ten rows form a comprehensive taxonomy are not sufficiently justified. A genuinely new architecture, numerical format, or model operator could require an additional “11th row.” Also, stronger row-removal ablations would help establish whether all ten rows are necessary and whether the taxonomy is actually minimal.
- The “one-column extension” claim is not directly tested because none of the four architectures is held out during the design of the taxonomy and experimental setup. Consequently, the results are also consistent with architecture-specific co-design of each column. A stronger test would freeze the taxonomy and agent harness using a subset of architectures, then ask an expert to construct the column for a held-out architecture using only the frozen row definitions and architecture documentation, without seeing the downstream workloads. No change and agent harness success would then indicate that the approach generalizes.
- The boundary of the taxonomy is unclear. In the appendix, FP4 requires a genuinely new treatment of scale factors, while several of the strongest optimizations, including reverse causal-chunk ordering, QK lookahead, are described as agent inventions outside the taxonomy. What principled criterion determines whether an optimization should be represented as a taxonomy row, a composition of existing rows, or a workload-specific transformation? Without such a criterion, it is unclear why persistent scheduling belongs in the taxonomy while reverse chunk ordering does not, and the completeness claim becomes difficult to define.
Questions
See the weaknesses section above
Limitations
yes
Formatting concerns
N/A
3 comments
Rebuttal
We thank the reviewer for recognizing the breadth of our evaluation and for appreciating the value of exposing architecture-specific knowledge through profiler-grounded examples. The questions on robustness, taxonomy construction, and generalization were particularly helpful.
Summary
-
Trajectory robustness. Five independent trajectories on MI350X and B200. Spread is 12% and 23% of the mean, and every run stays far above torch.compile.
-
Broader evaluation. Three standalone memory-bound operators and a scientific stencil, all handled by the existing taxonomy with no new rows.
-
Taxonomy construction. How the ten rows were derived, plus a cumulative row-removal ablation showing every exercised row contributes.
-
Generalization to new hardware. The AMD MI350 port as a case study, where only the architecture-specific contents change.
-
Hardware versus workload optimizations. Which optimizations warrant taxonomy rows, and which are workload-specific transformations.
On stochasticity and multi-run variance.
We agree that multi-run variance matters for establishing the significance of Hawkeye. Fixed-kernel measurement variation is controlled because every Table 2 result is the median of 100 do_bench iterations after warmup (Section 3, Appendix G.2). The reviewer's concern is the second source, variation across independent agent trajectories, which the submission did not quantify. We ran five independent trajectories for causal Linear Attention in BF16 on AMD MI350X and NVIDIA B200, holding the taxonomy, harness, backbone, and 100-turn budget fixed.
These trajectories are consistent and confirm the paper's main results. Against torch.compile, the five MI350X runs give a 68.8x mean with an 8.2x standard deviation over a 61.3x to 82.2x range, and the five B200 runs give 56.3x, 12.8x, and 42.9x to 71.2x. Spread is roughly 12% and 23% of the mean, small relative to the gains, and the weakest draw on each architecture remains far above torch.compile. Repeating the trajectories against Triton FLA reproduces the comparison in the paper, and we will add averages and standard deviations to the manuscript.
On evaluation on memory-bound workloads.
Memory-bound workloads stress a partly different set of strategies than compute-bound workloads like dense GEMMs, and the taxonomy covers both. 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 (Table 3). Linear Attention and DeltaNet are also already memory-bound at (B,H,S,D) = (4,8,4096,64), causal, on all four architectures, so their Table 2 speedups are memory-bound results and we will say so in the revision.
Our additional results add three standalone memory-bound operators on H100 and B200 in BF16, RMSNorm and softmax at M=N=8192 and a reduction kernel at M=8192, N=16384. Against the strongest baseline in each cell, torch.compile or the native PyTorch ATen kernel, Hawkeye is 1.20x to 4.62x faster, reaching 1.46x and 1.25x on RMSNorm, 2.92x and 4.62x on softmax, and 1.20x and 1.56x on the reduction. We also ran the same taxonomy outside machine learning, on the finite-difference time-domain stencil from SwizzlePerf, an electrodynamics workload with no tensor-core content and no relation to the kernels it came from. The speedup came from the data-movement rows, and with no rows added Hawkeye reached 1.12 ms on B200 and 2.50 ms on H100, 4.81x and 3.19x over the strongest baseline in each cell.
On the ablation and derivation of the 10 rows.
Minimality and completeness are important to generalizability. Hawkeye's main insights are in the structure of the hardware-aware context, and we do not claim the ten rows are the unique optimal set or a complete representation of the GPU kernel space. However, the ablation below shows each row is necessary on the ML workloads we evaluate. A workload only exercises the rows its winning kernel composes, so we remove those rows one at a time, cumulatively, most peripheral first, with each chain a separate sweep. Causal Linear Attention in BF16 uses five of the ten and never touches Quantized Precision.
Both sweeps are measured against the per-architecture torch reference. On MI350X, speedup falls monotonically at every removal: 90.9× (full context) → 80.9× (−Persistent Scheduling) → 70.6× (−Multi-Unit Coordination) → 61.2× (−Async Pipeline) → 56.4× (−Shared Memory Layout) → 55.1× (−MMA Unit), leaving the full context 1.65× above the algorithm-only floor. B200 shows the same monotonicity but a much sharper knee: the four peripheral rows cost a few percent each, taking 76.7× down to 62.0× (−Producer/Consumer, −Epilogue Pipeline, −Async Pipeline, −Persistent Scheduling), while removing the MMA Unit and its tcgen05 path collapses performance to 4.4×. No row is redundant, and the architectures differ in which dominates, with the matrix-core row carrying B200 while the rest supply the finishing margin. Sweeping every cell is expensive in GPU time, so Linear Attention on two architectures is the representative study.
To derive the taxonomy, we decompose the best hand-written kernels from FlashAttention-1 and 2, ThunderKittens, HipKittens, and CUTLASS into optimization regions. A region becomes a row when three conditions hold together, (1) it recurs across workloads, (2) its implementation changes across GPU architectures, and (3) it has a profiling counter that verifies the optimization fired. Regions sharing an instruction family and a counter are merged, which stops the set growing with every new instruction. Applying this to the five frameworks yields exactly ten rows, shown at region level in Appendices A.4 and A.5 and mapped below.
- MMA Unit: tensor-core matmul primitive, mma.sync.m16n8k16 (Ampere) through tcgen05.mma (Blackwell), from FA-2's HMMA16816 calls for QK and PV (Fig. 13).
- Quantized Precision: low-precision MMA path with its scale-factor operand class, FP8 E4M3, NVFP4, MXFP4, from ThunderKittens' FP8 GEMM and Hopper inner loop (Fig. 11).
- Shared Memory Layout: XOR-swizzled SMEM for conflict-free ldmatrix and WGMMA-descriptor reads, from FA-2's 128B column-group swizzle matched to CUTLASS's descriptor layout.
- Vectorized Memory: 128-bit global load/store via uint4/float4 (NVIDIA) and buffer_load_dwordx4 (AMD), from FA-2's vectorized scale-and-add and global-load path.
- Async Pipeline: software-pipelined async copy overlapping the next tile load with the current matmul, from FA-2's cp.async.cg with commit/wait_group on Ampere, generalizing to TMA and mbarrier on Hopper and Blackwell (Fig. 9).
- Producer/Consumer: warp-specialized split where a producer warpgroup loads and a consumer issues MMAs, with register reallocation between roles, from ThunderKittens' Hopper GEMM structs (Fig. 14).
- Epilogue Pipeline: fused activation and bias on accumulators or TMEM at the kernel boundary, decoupled from the main MMA loop, from the ThunderKittens/CUTLASS collective epilogue.
- Warp/Wave Reduction: cross-lane reduction for online softmax via
__shfl_down_sync/__shfl_xor_syncbutterflies, DPP on AMD, from FA-2's row-max and row-sum reduction. - Multi-Unit Coordination: cross-CTA cooperation, 2-CTA cluster multicast and DSMEM exchange (NVIDIA), XCD-aware remapping (AMD), from ThunderKittens' Blackwell 2-CTA cooperative MMA (Fig. 15).
- Persistent Scheduling: persistent kernels with a tile scheduler and L2-swizzle blockIdx remap, from the ThunderKittens/CUTLASS GEMM scheduler.
On the one-column extension to new hardware architectures.
During this project we faced exactly this with AMD MI350, which required a new backend, architecture, and vendor at once, so we view it as a proxy for the reviewer's proposed study. Its programming model, syntax, and toolchain differ substantially from H100, and it exposes a chiplet-aware block-swizzling optimization with no publicly announced analogue on NVIDIA GPUs, which still fit the existing Multi-Unit Coordination row, defined as coordinating work across independent execution units. Adding the column meant populating and validating its ten cells and moving the pipeline to ROCm. The OpenHands harness and taxonomy structure were unchanged, and only the architecture-specific contents and target toolchain changed, which is evidence that both transfer to a very different stack without structural changes.
On taxonomy rows versus workload transformations.
We apply the three-condition criterion above, so an optimization warrants a row only when it recurs across workloads, changes implementation across GPU architectures, and has a profiling counter that verifies it fired. Workload-specific optimizations fail the first condition, since they apply only to a narrow class of operators and do not arise from the underlying hardware.
The reviewer's examples concretely describe both cases. The lowest supported quantization scheme changes with the architecture, so the most aggressive way to quantize a workload is hardware-specific, which is the Quantized Precision row. FP4 is only supported on B200 and MI350, with E4M3 scale for NVFP4 on B200 and E8M0 scale as an instruction operand for MXFP4 on MI350. Every workload can be quantized down, but how that is implemented depends on which precisions the architecture supports, so the optimization is specific to the GPU while generalizing across workloads.
QK lookahead is a useful example of a workload-specific optimization. It exploits the structure of attention by moving future Q or K tiles before they are consumed, overlapping memory accesses with computation, so it does not warrant its own row. The mechanisms needed to implement it efficiently, such as asynchronous data movement, producer-consumer scheduling, and architecture-specific memory coordination, are recurring hardware-aware optimizations already covered by taxonomy rows.
Thank you for the detailed rebuttal! The new results provide a clearer understanding of the system, and I appreciate the authors’ effort in producing them within a short timeframe. I encourage the authors to include these results in the paper.
My remaining concern is about the scope of the taxonomy. The authors clarify that the rows are derived by decomposing FlashAttention-1/2, ThunderKittens, HipKittens, and CUTLASS into recurring optimization regions. This is helpful, but it still leaves open why recurrence within this particular corpus is sufficient to support a broadly comprehensive taxonomy. I would also encourage the authors to clarify when an optimization is considered a workload-specific transformation versus a hardware-aware taxonomy row, and whether row definitions are fixed semantic categories or can expand as new hardware features appear.
Rebuttal Comment to Reviewer 6qdE
Thank you for the follow up, and we appreciate the feedback on relevant new experiments! The additional results and ablations suggested in the review strengthen the delivery and robustness of the paper, and we will update the manuscript accordingly.
On the derived rows, while FlashAttention is a single kernel (although a widely used one that addresses a wide range of GPU optimizations), ThunderKittens, HipKittens, and CUTLASS are general purpose frameworks that support broad classes of tensor algebra workloads. Basing the taxonomy on these general frameworks rather than isolated kernels is what lets the rows generalize to hardware aware optimization beyond attention. A region only becomes a row when it recurs across workloads, changes implementation across architectures, and has a profiling counter that verifies it fired, so the taxonomy reflects what's actually load bearing in this corpus rather than an arbitrary count.
On the row vs transformation question, the "On taxonomy rows versus workload transformations" subsection of the rebuttal addresses the concerns. QK lookahead and similar workload specific tricks don't change implementation across architectures the way MMA Unit or Persistent Scheduling do, so they don't pass condition two and stay as compositions of existing rows. The rows aren't a fixed closed list either, and can change or expand as new hardware or programming model features are introduced in new GPU architectures. FP4 didn't need a new row because it satisfied the existing criterion under Quantized Precision, but a separate optimization that meets all three conditions and doesn't merge into an existing instruction family would become an eleventh row. A good example of this is the dynamic dataflow optimization for Cerebras's WSE-3 chip. On Cerebras, most rows would still hold, but WSE-3 must dynamically route dataflow around compute broken by tapeout yield. When NVIDIA and AMD shut off broken compute in hardware there is no locality penalty that must be addressed in the kernels, so only Cerebras needs to handle this in software and would require a new dynamic dataflow row to the taxonomy. However, the remaining taxonomy would still cover the rest of the optimizations. For example, Async Pipeline would still cover streaming weights from off-chip MemoryX into the on-chip SRAM grid, and Shared Memory Layout their distributed SRAM.
Comments on the paper
1 comment
Please respond to the rebuttal
Dear reviewers,
Please respond to the rebuttal by August 3 if you haven't done so.
AC
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to metareview
We thank the AC for the feedback and suggested clarifications. All four points are addressed in the individual responses, and each will receive a fix in the revised manuscript.
1. Taxonomy completeness and minimality (Reviewer 6qdE, also xaRa and QokQ)
We added a cumulative row-removal ablation on causal Linear Attention in BF16, removing exercised rows one at a time, most peripheral first. On MI350X performance falls monotonically from 90.9x with the full context through 80.9x, 70.6x, 61.2x, 56.4x, and 55.1x, leaving it 1.65x above the algorithm-only floor. On B200 the knee is sharper, with the four peripheral rows costing a few percent each, 76.7x to 62.0x, while removing the MMA Unit row and its tcgen05 path collapses performance to 4.4x. No row is redundant, and which row dominates differs by architecture.
A region becomes a row only when it recurs across workloads, its implementation changes across architectures, and it has a profiling counter verifying the optimization fired. For example, Quantized Precision is a hardware-aware taxonomy row because every workload can be quantized, but implementation depends on the lowest precisions the architecture supports. QK lookahead is not, since it exploits the structure of attention specifically and its enabling mechanisms are already covered by existing rows.
We will add the ablation, state the criterion explicitly, and ground each row in the FlashAttention, ThunderKittens, or CUTLASS construct it came from.
2. Stochasticity and multi-run variance (Reviewer 6qdE)
We ran five independent trajectories for causal Linear Attention in BF16 on MI350X and B200, with the taxonomy, harness, backbone, and 100-turn budget fixed. The trajectories are consistent and confirm the main results reported in the paper. Against torch.compile, MI350X gives a 68.8x mean, 8.2x standard deviation, and 61.3x to 82.2x range, and B200 gives 56.3x, 12.8x, and 42.9x to 71.2x. The standard deviation is roughly 12 and 23% of the mean, small relative to the gains, and the weakest result on each architecture stays far above torch.compile. The Triton FLA comparisons are reproduced as well.
We will report the multi-trajectory variance for this workload subset in the updated manuscript.
3. Cost of creating the taxonomy (Reviewers xaRa and QokQ)
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. Two days went to row identification and eight to cell construction, where the debugging lives. Each cell follows a fixed sequence, finding a profiling counter that signals the targeted optimization fired, then hand-writing a unit test that isolates it, a naive kernel pinning the counter at the floor, and the solution kernel. A cell is accepted only once it passes correctness, improves its metric, and beats the naive baseline end to end, and debugging meant tightening the kernel or test size until those signals lined up.
This one-time cost amortizes across workloads, precisions, vendors, and architectures, against the 10 to 28 months per hardware generation that porting a kernel library has historically taken expert teams (Figure 17). Total project GPU cost was 14,629 USD including every failed iteration, about 287 USD per released kernel.
We will add the expert-hour accounting, the cell construction procedure, and the full cost breakdown.
4. Related work and backend discussion (Reviewer rshB)
KernelFoundry uses quality-diversity search and prompt optimization over templated kernels on Intel and RTX consumer GPUs, and our GEPA baseline is a close proxy for that mechanism, underperforming Hawkeye on every architecture. KernelAgent generates Triton kernels using retrieval over hardware documentation, and our raw and augmented PTX-docs baselines are close proxies that likewise underperform, since documentation gives primitives without the composition recipe. Both contribute orchestration strategies orthogonal to ours, since we use OpenHands out of the box.
The taxonomy structure is backend-agnostic while the cell contents are backend-specific. CUDA and HIP are already completely different backends in our evaluation, and the structure transferred unchanged. The row set follows how much hardware a backend surfaces. CuTeDSL exposes tcgen05, TMA, TMEM, and explicit layouts, so nearly every row carries over with only the syntax changing, while Triton manages shared memory and operand packing itself, so rows like Shared Memory Layout drop out. We target native CUDA and HIP because they expose the highest ceiling on day-zero architectures where compiler support is still maturing, which is why we exceed expert Triton FLA by 2.19x on Forgetting Attention on Blackwell.
In the updated manuscript, we will move the KernelFoundry and KernelAgent comparison into the main paper and add an explicit discussion of the backend distinction.