mlsanityData to 14 Oct 2026

CUDA-Harness: Harnessing Agentic CUDA Kernel Generation and Optimization from Natural Language

arXiv 2609.00058 ↗First posted 30 Aug 2026cs.CL cs.AI cs.MAcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Developing high-performance CUDA kernels demands specialized knowledge in algorithm implementation, correctness validation, and hardware-aware parallel optimization, creating a substantial expertise barrier and making generating CUDA kernels directly from natural language (Text2CUDA) essential. Meanwhile, the general-purpose code generation capability of Large Language Models (LLMs) prompts a series of works exploring LLM-based CUDA kernel generation. They mainly focus on transpilation from high-level frameworks such as PyTorch to CUDA (Torch2CUDA) rather than Text2CUDA, where models must understand the high-level input semantics and handle low-level kernel implementation and validation. Additionally, these methods are vulnerable to reward hacking due to reliance on predefined test inputs. In this paper, we propose CUDA-Harness, a framework for harnessing agentic CUDA kernel generation and optimization from natural language. Specifically, we introduce Intermediate-Structured Generation to connect high-level semantic understanding with low-level kernel generation. To dilute reward hacking in Text2CUDA, we construct Synthesis-Based Verification to provide isolated test data and progressive validation. Furthermore, we propose Feedback-Adaptive Evolution, a kernel evolution strategy that prioritizes correctness while optimizing performance. Finally, through extensive experiments, we demonstrate the effectiveness of CUDA-Harness, with further evaluations illustrating generalization across LLMs, hardware platforms, and to C-to-CUDA transpilation.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 25 of its 32 references that are in the map. First posted on arXiv 30 Aug 2026.

Builds on

25 of 32 references.

Closest ancestors · 7

Same direction, newest first

  1. 2026KernelSkill: A Multi-Agent Framework for GPU Kernel Optimization10 Mar
  2. 2026CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generation27 Feb
  3. 2026GLM-5: from Vibe Coding to Agentic Engineering17 Feb
  4. 2026Towards Automated Kernel Generation in the Era of LLMs22 Jan
  5. 2025cuPilot: A Strategy-Coordinated Multi-agent Framework for CUDA Kernel Evolution18 Dec
  6. 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimization23 Oct
  7. 2025STARK: Strategic Team of Agents for Refining Kernels19 Oct

Other references · 18

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  4. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  5. 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
  6. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 815
  7. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
  8. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
  9. 2024Sycophancy to Subterfuge: Investigating Reward-Tampering in Large Language Modelscited by 178
  10. 2025CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learningcited by 61
  11. 2026Seed2.0 Model Card: Towards Intelligence Frontier for Real-World Complexitycited by 58
  12. 2025LiveCodeBench Pro: How Do Olympiad Medalists Judge LLMs in Competitive Programming?cited by 55
6 more
  1. 2025CUDA-LLM: LLMs Can Write Efficient CUDA Kernelscited by 34
  2. 2025QiMeng-Kernel: Macro-Thinking Micro-Coding Paradigm for LLM-Based High-Performance GPU Kernel Generationcited by 19
  3. 2025ConCuR: Conciseness Makes State-of-the-Art Kernel Generationcited by 13
  4. 2025From Large to Small: Transferring CUDA Optimization Expertise via Reasoning Graphcited by 10
  5. 2026CUDABench: Benchmarking LLMs for Text-to-CUDA Generationcited by 10
  6. 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimizationcited by 6

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization
  2. 2026Kernel Forge: An Agent Harness for LLM-based Generation and Optimization of CUDA Kernels
  3. 2026OptiML: An End-to-End Framework for Program Synthesis and CUDA Kernel Optimization
  4. 2026KernelBlaster: Continual Cross-Task CUDA Optimization via Memory-Augmented In-Context Reinforcement Learning
  5. 2026From Tokens to Regions: CUDA-Sensitive Instruction Tuning for GPU Kernel Generation
  6. 2025ProofWright: Towards Agentic Formal Verification of CUDA
  7. 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimization
  8. 2026AgentCompile: An LLM-Guided Compiler for Direct CUDA Inference