mlsanityData to 7 Oct 2026

KernelBlaster: Continual Cross-Task CUDA Optimization via Memory-Augmented In-Context Reinforcement Learning

arXiv 2602.14293 ↗First posted 15 Feb 2026cs.LG cs.AIcited by 10

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

Abstract (arXiv)

Optimizing CUDA code across multiple generations of GPU architectures is challenging, as achieving peak performance requires an extensive exploration of an increasingly complex, hardware-specific optimization space. Traditional compilers are constrained by fixed heuristics, whereas finetuning Large Language Models (LLMs) can be expensive. However, agentic workflows for CUDA code optimization have limited ability to aggregate knowledge from prior exploration, leading to biased sampling and suboptimal solutions. We propose KernelBlaster, a Memory-Augmented In-context Reinforcement Learning (MAIC-RL) framework designed to improve CUDA optimization search capabilities of LLM-based GPU coding agents. KernelBlaster enables agents to learn from experience and make systematically informed decisions on future tasks by accumulating knowledge into a retrievable Persistent CUDA Knowledge Base. We propose a novel profile-guided, textual-gradient-based agentic flow for CUDA generation and optimization to achieve high performance across generations of GPU architectures. KernelBlaster guides LLM agents to systematically explore high-potential optimization strategies beyond naive rewrites. Compared to the PyTorch baseline, our method achieves geometric mean speedups of 1.43x, 2.50x, and 1.50x on KernelBench Levels 1, 2, and 3, respectively. We release KernelBlaster as an open-source agentic framework, accompanied by a test harness, verification components, and a reproducible evaluation pipeline.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 15 of its 33 references that are in the map. First posted on arXiv 15 Feb 2026.

Builds on

15 of 33 references.

Closest ancestors · 3

Same direction, newest first

  1. 2025Pie: A Programmable Serving System for Emerging LLM Applications28 Oct
  2. 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimization23 Oct
  3. 2025AlphaEvolve: A coding agent for scientific and algorithmic discovery16 Jun

Other references · 12

  1. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  2. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  3. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 449
  4. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 270
  5. 2024TextGrad: Automatic "Differentiation" via Textcited by 250
  6. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
  7. 2022Compute Trends Across Three Eras of Machine Learningcited by 161
  8. 2025CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learningcited by 59
  9. 2025CUDA-LLM: LLMs Can Write Efficient CUDA Kernelscited by 33
  10. 2022Large Language Models can Implement Policy Iterationcited by 31
  11. 2024LLM-Vectorizer: LLM-based Verified Loop Vectorizercited by 25
  12. 2024Sparse Autoencoders Reveal Temporal Difference Learning in Large Language Modelscited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 10.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generation
  2. 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimization
  3. 2026Agentic Kernel Optimization: Generating State-of-the-Art GPU Kernels Without Hand-Written CUDA
  4. 2025STARK: Strategic Team of Agents for Refining Kernels
  5. 2026CUDA-Harness: Harnessing Agentic CUDA Kernel Generation and Optimization from Natural Language
  6. 2026KernelSkill: A Multi-Agent Framework for GPU Kernel Optimization
  7. 2026Kernel Forge: An Agent Harness for LLM-based Generation and Optimization of CUDA Kernels
  8. 2026From Tokens to Regions: CUDA-Sensitive Instruction Tuning for GPU Kernel Generation