mlsanityData to 14 Oct 2026

MultiKernelBench: A Multi-Platform Benchmark for Kernel Generation

arXiv 2507.17773 ↗First posted 20 Jul 2025cs.DC cs.LG cs.PFcited by 38

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  6. 2021Program Synthesis with Large Language Modelscited by 3,637
  7. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  8. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
  9. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
  10. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
  11. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
  12. 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 258
11 more
  1. 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 256
  2. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 201
  3. 2019SPoC: Search-based Pseudocode to Codecited by 176
  4. 2022DocPrompting: Generating Code by Retrieving the Docscited by 153
  5. 2022Execution-Based Evaluation for Open-Domain Code Generationcited by 91
  6. 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 78
  7. 2024DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code Repositoriescited by 72
  8. 2022When Language Model Meets Private Librarycited by 54
  9. 2025AutoTriton: Automatic Triton Programming with Reinforcement Learning in LLMscited by 40
  10. 2024DOMAINEVAL: An Auto-Constructed Benchmark for Multi-Domain Code Generationcited by 21
  11. 2024API-guided Dataset Synthesis to Finetune Large Code Modelscited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 33.

38 papers.

Sort:

By area:

  1. 2025AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimizationcited by 23
  2. 2026KernelFoundry: Hardware-aware evolutionary GPU kernel optimizationcited by 13
  3. 2026KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernelscited by 12
  4. 2026Towards Automated Kernel Generation in the Era of LLMscited by 11
  5. 2026KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?cited by 8
  6. 2025AKG kernel Agent: A Multi-Agent Framework for Cross-Platform Kernel Synthesiscited by 7
  7. 2026AscendCraft: Automatic Ascend NPU Kernel Generation via DSL-Guided Transcompilationcited by 7
  8. 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimizationcited by 6
  9. 2026KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardwarecited by 5
  10. 2026Making LLMs Optimize Multi-Scenario CUDA Kernels Like Expertscited by 4
  11. 2025GPU Kernel Optimization Beyond Full Builds: An LLM Framework with Minimal Executable Programscited by 3
  12. 2026DICE: Diffusion Large Language Models Excel at Generating CUDA Kernelscited by 3
26 more
  1. 2026Towards Cold-Start Drafting and Continual Refining: A Value-Driven Memory Approach with Application to NPU Kernel Synthesiscited by 3
  2. 2026AscendOptimizer: Episodic Agent for Ascend NPU Operator Optimizationcited by 3
  3. 2026Kernel Contracts: A Specification Language for ML Kernel Correctness Across Heterogeneous Siliconcited by 3
  4. 2026FastKernels: Benchmarking GPU Kernel Generation in Productioncited by 3
  5. 2026Are LLM-Generated GPU Kernels Production-Ready? A Trace-Driven Benchmark and Optimization Agentcited by 3
  6. 2026PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level Code Optimizationcited by 3
  7. 2025Counting Without Running: Evaluating LLMs' Reasoning About Code Complexitycited by 2
  8. 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agentscited by 2
  9. 2026JAXBench: Benchmarking Autonomous TPU Kernel Optimizationcited by 2
  10. 2026RealisticTritonBench: A Benchmark for Triton-Kernel Generation in Real-World AI Frameworkscited by 2
  11. 2025Evolution of Kernels: Automated RISC-V Kernel Optimization with Large Language Modelscited by 1
  12. 2026MobileKernelBench: Can LLMs Write Efficient Kernels for Mobile Devices?cited by 1
  13. 2026Metal-Sci: A Scientific Compute Benchmark for Evolutionary LLM Kernel Search on Apple Siliconcited by 1
  14. 2026Hawk: Harnessing Hardware-Aware Knowledge for High-Performance NPU Kernel Generationcited by 1
  15. 2026MKEvolve: A Modular Multi-Agent Framework for Kernel Code Generationcited by 1
  16. 2026CANN Bench: Benchmarking Agent Generated Kernels against Real NPU and Algorithmic Limitscited by 1
  17. 2026Kernel Forge: An Agent Harness for LLM-based Generation and Optimization of CUDA Kernelscited by 1
  18. 2026Learning When to Optimize: Verified Optimization Skills from Expert GPU-Kernel Lineagescited by 0
  19. 2026CodegenBench: Can LLMs Write Efficient Code Across Architectures?cited by 0
  20. 2026Compiler-Grounded Hierarchical Diagnosis for LLM-Based Triton Kernel Optimizationcited by 0
  21. 2026KernelGenBench: Can LLMs and Agents Write Efficient Kernels Across Operator Sources and Hardware Platforms?cited by 0
  22. 2026PerfReasoning: How Well Do LLMs Reason on Hardware Performance?cited by 0
  23. 2026GPUPhysBench: Benchmarking Coding Agents for Correct and Efficient GPU Physics Simulationcited by 0
  24. 2026D2K-Bench: Can LLM Agents Turn Expert Designs into Efficient GPU Kernels?cited by 0
  25. 2026MetaKernelBench: Measuring GPU Kernel Knowledge Transfer Beyond Codecited by 0
  26. 2026GPU Goldmines: Tunable WebGPU Kernels for Edge LLM Inferencecited by 0