Metraipolis › archive › dc_c99849e7ee18

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

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.00058
License (as archived)
CC0-1.0
Archived
2026-10-17T06:30:48.767Z
SHA-256 of the archived text
9c0ff4cc00e6cf68227ed9e7af122b0f418f001d5039dd773f976b0f08f6dbb5
Stable URL of this page
https://metraipolis.com/documento/dc_c99849e7ee18

How to cite

CUDA-Harness: Harnessing Agentic CUDA Kernel Generation and Optimization from Natural Language — arXiv:2609.00058 — arXiv (en), https://arxiv.org/abs/2609.00058 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c99849e7ee18 (Metraipolis archive dc_c99849e7ee18, sha256 9c0ff4cc00e6cf68227ed9e7af122b0f418f001d5039dd773f976b0f08f6dbb5)
BibTeX
@misc{dcc99849e7ee18,
  title = {CUDA-Harness: Harnessing Agentic CUDA Kernel Generation and Optimization from Natural Language — arXiv:2609.00058},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.00058},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c99849e7ee18; sha256 9c0ff4cc00e6cf68227ed9e7af122b0f418f001d5039dd773f976b0f08f6dbb5},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.00058. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-02 in cs.MA).
Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI); Multiagent Systems (cs.MA); Programming Languages (cs.PL); Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.00058 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-17T06:14:52.156Z dalla pagina https://arxiv.org/catchup/cs.MA/2026-09-02?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).