MultiKernelBench: A Multi-Platform Benchmark for Kernel Generation
Not on the map. Why?
Abstract (arXiv)
The automatic generation of deep learning (DL) kernels using large language models (LLMs) has emerged as a promising approach to reduce the manual effort and hardware-specific expertise required for writing high-performance operator implementations. However, existing benchmarks for evaluating LLMs in this domain suffer from limited hardware support, coarse-grained kernel categorization, and imbalanced task coverage. To address these limitations, we introduce MultiKernelBench, the first comprehensive, multi-platform benchmark for LLM-based DL kernel generation. MultiKernelBench spans 285 tasks across 14 well-defined kernel categories and supports three major hardware platforms: Nvidia GPUs, Huawei NPUs, and Google TPUs. To enable future extensibility, we design a modular backend abstraction layer that decouples platform-specific logic from the core benchmarking infrastructure, allowing easy integration of new hardware platforms. We further propose a simple yet effective category-aware one-shot prompting method that improves generation quality by providing in-category exemplars. Through systematic evaluations of seven state-of-the-art LLMs, we reveal significant variation in task difficulty, poor generalization to platforms with less training exposure, and the effectiveness of targeted prompting strategies. MultiKernelBench is publicly available at https://github.com/wzzll123/MultiKernelBench.
Key facts. Cited by 38 papers in the map (data through 14 Oct 2026). Builds on 23 of its 54 references that are in the map. First posted on arXiv 20 Jul 2025.
Builds on
23 of 54 references.
References · 23
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 258
11 more
- 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 256
- 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 201
- 2019SPoC: Search-based Pseudocode to Codecited by 176
- 2022DocPrompting: Generating Code by Retrieving the Docscited by 153
- 2022Execution-Based Evaluation for Open-Domain Code Generationcited by 91
- 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 78
- 2024DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code Repositoriescited by 72
- 2022When Language Model Meets Private Librarycited by 54
- 2025AutoTriton: Automatic Triton Programming with Reinforcement Learning in LLMscited by 40
- 2024DOMAINEVAL: An Auto-Constructed Benchmark for Multi-Domain Code Generationcited by 21
- 2024API-guided Dataset Synthesis to Finetune Large Code Modelscited by 11
Built on by
Citing papers per year: 2025: 5; 2026: 33.
38 papers.
Sort:
By area:
- 2025AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimizationcited by 23
- 2026KernelFoundry: Hardware-aware evolutionary GPU kernel optimizationcited by 13
- 2026KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernelscited by 12
- 2026Towards Automated Kernel Generation in the Era of LLMscited by 11
- 2026KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?cited by 8
- 2025AKG kernel Agent: A Multi-Agent Framework for Cross-Platform Kernel Synthesiscited by 7
- 2026AscendCraft: Automatic Ascend NPU Kernel Generation via DSL-Guided Transcompilationcited by 7
- 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimizationcited by 6
- 2026KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardwarecited by 5
- 2026Making LLMs Optimize Multi-Scenario CUDA Kernels Like Expertscited by 4
- 2025GPU Kernel Optimization Beyond Full Builds: An LLM Framework with Minimal Executable Programscited by 3
- 2026DICE: Diffusion Large Language Models Excel at Generating CUDA Kernelscited by 3
26 more
- 2026Towards Cold-Start Drafting and Continual Refining: A Value-Driven Memory Approach with Application to NPU Kernel Synthesiscited by 3
- 2026AscendOptimizer: Episodic Agent for Ascend NPU Operator Optimizationcited by 3
- 2026Kernel Contracts: A Specification Language for ML Kernel Correctness Across Heterogeneous Siliconcited by 3
- 2026FastKernels: Benchmarking GPU Kernel Generation in Productioncited by 3
- 2026Are LLM-Generated GPU Kernels Production-Ready? A Trace-Driven Benchmark and Optimization Agentcited by 3
- 2026PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level Code Optimizationcited by 3
- 2025Counting Without Running: Evaluating LLMs' Reasoning About Code Complexitycited by 2
- 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agentscited by 2
- 2026JAXBench: Benchmarking Autonomous TPU Kernel Optimizationcited by 2
- 2026RealisticTritonBench: A Benchmark for Triton-Kernel Generation in Real-World AI Frameworkscited by 2
- 2025Evolution of Kernels: Automated RISC-V Kernel Optimization with Large Language Modelscited by 1
- 2026MobileKernelBench: Can LLMs Write Efficient Kernels for Mobile Devices?cited by 1
- 2026Metal-Sci: A Scientific Compute Benchmark for Evolutionary LLM Kernel Search on Apple Siliconcited by 1
- 2026Hawk: Harnessing Hardware-Aware Knowledge for High-Performance NPU Kernel Generationcited by 1
- 2026MKEvolve: A Modular Multi-Agent Framework for Kernel Code Generationcited by 1
- 2026CANN Bench: Benchmarking Agent Generated Kernels against Real NPU and Algorithmic Limitscited by 1
- 2026Kernel Forge: An Agent Harness for LLM-based Generation and Optimization of CUDA Kernelscited by 1
- 2026Learning When to Optimize: Verified Optimization Skills from Expert GPU-Kernel Lineagescited by 0
- 2026CodegenBench: Can LLMs Write Efficient Code Across Architectures?cited by 0
- 2026Compiler-Grounded Hierarchical Diagnosis for LLM-Based Triton Kernel Optimizationcited by 0
- 2026KernelGenBench: Can LLMs and Agents Write Efficient Kernels Across Operator Sources and Hardware Platforms?cited by 0
- 2026PerfReasoning: How Well Do LLMs Reason on Hardware Performance?cited by 0
- 2026GPUPhysBench: Benchmarking Coding Agents for Correct and Efficient GPU Physics Simulationcited by 0
- 2026D2K-Bench: Can LLM Agents Turn Expert Designs into Efficient GPU Kernels?cited by 0
- 2026MetaKernelBench: Measuring GPU Kernel Knowledge Transfer Beyond Codecited by 0
- 2026GPU Goldmines: Tunable WebGPU Kernels for Edge LLM Inferencecited by 0
- 2026GPU Goldmines: Tunable WebGPU Kernels for Edge LLM Inference12 Oct 2026
- 2026MetaKernelBench: Measuring GPU Kernel Knowledge Transfer Beyond Code4 Oct 2026
- 2026D2K-Bench: Can LLM Agents Turn Expert Designs into Efficient GPU Kernels?2 Oct 2026
- 2026GPUPhysBench: Benchmarking Coding Agents for Correct and Efficient GPU Physics Simulation28 Sep 2026
- 2026PerfReasoning: How Well Do LLMs Reason on Hardware Performance?3 Sep 2026
- 2026RealisticTritonBench: A Benchmark for Triton-Kernel Generation in Real-World AI Frameworks12 Aug 2026
- 2026Compiler-Grounded Hierarchical Diagnosis for LLM-Based Triton Kernel Optimization25 Jul 2026
- 2026KernelGenBench: Can LLMs and Agents Write Efficient Kernels Across Operator Sources and Hardware Platforms?22 Jul 2026
- 2026PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level Code Optimization22 Jul 2026
- 2026Are LLM-Generated GPU Kernels Production-Ready? A Trace-Driven Benchmark and Optimization Agent16 Jul 2026
- 2026CANN Bench: Benchmarking Agent Generated Kernels against Real NPU and Algorithmic Limits8 Jul 2026
- 2026Hawk: Harnessing Hardware-Aware Knowledge for High-Performance NPU Kernel Generation2 Jul 2026
26 more
- 2026KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?26 Jun 2026
- 2026MKEvolve: A Modular Multi-Agent Framework for Kernel Code Generation20 Jun 2026
- 2026Kernel Forge: An Agent Harness for LLM-based Generation and Optimization of CUDA Kernels2 Jun 2026
- 2026CodegenBench: Can LLMs Write Efficient Code Across Architectures?1 Jun 2026
- 2026Learning When to Optimize: Verified Optimization Skills from Expert GPU-Kernel Lineages27 May 2026
- 2026FastKernels: Benchmarking GPU Kernel Generation in Production22 May 2026
- 2026JAXBench: Benchmarking Autonomous TPU Kernel Optimization19 May 2026
- 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agents16 May 2026
- 2026Metal-Sci: A Scientific Compute Benchmark for Evolutionary LLM Kernel Search on Apple Silicon10 May 2026
- 2026KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernels6 May 2026
- 2026Kernel Contracts: A Specification Language for ML Kernel Correctness Across Heterogeneous Silicon23 Apr 2026
- 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimization30 Mar 2026
- 2026AscendOptimizer: Episodic Agent for Ascend NPU Operator Optimization24 Mar 2026
- 2026KernelFoundry: Hardware-aware evolutionary GPU kernel optimization12 Mar 2026
- 2026MobileKernelBench: Can LLMs Write Efficient Kernels for Mobile Devices?12 Mar 2026
- 2026Towards Cold-Start Drafting and Continual Refining: A Value-Driven Memory Approach with Application to NPU Kernel Synthesis11 Mar 2026
- 2026Making LLMs Optimize Multi-Scenario CUDA Kernels Like Experts7 Mar 2026
- 2026DICE: Diffusion Large Language Models Excel at Generating CUDA Kernels12 Feb 2026
- 2026KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardware10 Feb 2026
- 2026AscendCraft: Automatic Ascend NPU Kernel Generation via DSL-Guided Transcompilation30 Jan 2026
- 2026Towards Automated Kernel Generation in the Era of LLMs22 Jan 2026
- 2025AKG kernel Agent: A Multi-Agent Framework for Cross-Platform Kernel Synthesis29 Dec 2025
- 2025GPU Kernel Optimization Beyond Full Builds: An LLM Framework with Minimal Executable Programs15 Dec 2025
- 2025Counting Without Running: Evaluating LLMs' Reasoning About Code Complexity4 Dec 2025
- 2025AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimization19 Nov 2025
- 2025Evolution of Kernels: Automated RISC-V Kernel Optimization with Large Language Models14 Sep 2025
- 2025AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimizationcited by 23
- 2026Towards Automated Kernel Generation in the Era of LLMscited by 11
- 2025AKG kernel Agent: A Multi-Agent Framework for Cross-Platform Kernel Synthesiscited by 7
- 2026KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardwarecited by 5
- 2026FastKernels: Benchmarking GPU Kernel Generation in Productioncited by 3
- 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agentscited by 2
- 2026MKEvolve: A Modular Multi-Agent Framework for Kernel Code Generationcited by 1
- 2026Kernel Forge: An Agent Harness for LLM-based Generation and Optimization of CUDA Kernelscited by 1
- 2026Learning When to Optimize: Verified Optimization Skills from Expert GPU-Kernel Lineagescited by 0
- 2026KernelGenBench: Can LLMs and Agents Write Efficient Kernels Across Operator Sources and Hardware Platforms?cited by 0
- 2026D2K-Bench: Can LLM Agents Turn Expert Designs into Efficient GPU Kernels?cited by 0
- 2026D2K-Bench: Can LLM Agents Turn Expert Designs into Efficient GPU Kernels?2 Oct 2026
- 2026KernelGenBench: Can LLMs and Agents Write Efficient Kernels Across Operator Sources and Hardware Platforms?22 Jul 2026
- 2026MKEvolve: A Modular Multi-Agent Framework for Kernel Code Generation20 Jun 2026
- 2026Kernel Forge: An Agent Harness for LLM-based Generation and Optimization of CUDA Kernels2 Jun 2026
- 2026Learning When to Optimize: Verified Optimization Skills from Expert GPU-Kernel Lineages27 May 2026
- 2026FastKernels: Benchmarking GPU Kernel Generation in Production22 May 2026
- 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agents16 May 2026
- 2026KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardware10 Feb 2026
- 2026Towards Automated Kernel Generation in the Era of LLMs22 Jan 2026
- 2025AKG kernel Agent: A Multi-Agent Framework for Cross-Platform Kernel Synthesis29 Dec 2025
- 2025AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimization19 Nov 2025
- 2026KernelFoundry: Hardware-aware evolutionary GPU kernel optimizationcited by 13
- 2026KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernelscited by 12
- 2026KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?cited by 8
- 2026AscendCraft: Automatic Ascend NPU Kernel Generation via DSL-Guided Transcompilationcited by 7
- 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimizationcited by 6
- 2026Making LLMs Optimize Multi-Scenario CUDA Kernels Like Expertscited by 4
- 2025GPU Kernel Optimization Beyond Full Builds: An LLM Framework with Minimal Executable Programscited by 3
- 2026DICE: Diffusion Large Language Models Excel at Generating CUDA Kernelscited by 3
- 2026Towards Cold-Start Drafting and Continual Refining: A Value-Driven Memory Approach with Application to NPU Kernel Synthesiscited by 3
- 2026AscendOptimizer: Episodic Agent for Ascend NPU Operator Optimizationcited by 3
- 2026Kernel Contracts: A Specification Language for ML Kernel Correctness Across Heterogeneous Siliconcited by 3
- 2026Are LLM-Generated GPU Kernels Production-Ready? A Trace-Driven Benchmark and Optimization Agentcited by 3
12 most cited of 25 All 25 (JSON)
- 2026GPU Goldmines: Tunable WebGPU Kernels for Edge LLM Inference12 Oct 2026
- 2026MetaKernelBench: Measuring GPU Kernel Knowledge Transfer Beyond Code4 Oct 2026
- 2026GPUPhysBench: Benchmarking Coding Agents for Correct and Efficient GPU Physics Simulation28 Sep 2026
- 2026RealisticTritonBench: A Benchmark for Triton-Kernel Generation in Real-World AI Frameworks12 Aug 2026
- 2026Compiler-Grounded Hierarchical Diagnosis for LLM-Based Triton Kernel Optimization25 Jul 2026
- 2026PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level Code Optimization22 Jul 2026
- 2026Are LLM-Generated GPU Kernels Production-Ready? A Trace-Driven Benchmark and Optimization Agent16 Jul 2026
- 2026CANN Bench: Benchmarking Agent Generated Kernels against Real NPU and Algorithmic Limits8 Jul 2026
- 2026Hawk: Harnessing Hardware-Aware Knowledge for High-Performance NPU Kernel Generation2 Jul 2026
- 2026KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?26 Jun 2026
- 2026CodegenBench: Can LLMs Write Efficient Code Across Architectures?1 Jun 2026
- 2026JAXBench: Benchmarking Autonomous TPU Kernel Optimization19 May 2026
12 newest of 25 All 25 (JSON)