mlsanityData to 14 Oct 2026

AscendCraft: Automatic Ascend NPU Kernel Generation via DSL-Guided Transcompilation

arXiv 2601.22760 ↗First posted 30 Jan 2026cs.DC cs.LG cs.PFcited by 7

Not on the map. Why?

Abstract (arXiv)

The performance of deep learning models critically depends on efficient kernel implementations, yet developing high-performance kernels for specialized accelerators remains time-consuming and expertise-intensive. While recent work demonstrates that large language models (LLMs) can generate correct and performant GPU kernels, kernel generation for neural processing units (NPUs) remains largely underexplored due to domain-specific programming models, limited public examples, and sparse documentation. Consequently, directly generating AscendC kernels with LLMs yields extremely low correctness, highlighting a substantial gap between GPU and NPU kernel generation. We present AscendCraft, a DSL-guided approach for automatic AscendC kernel generation. AscendCraft introduces a lightweight DSL that abstracts non-essential complexity while explicitly modeling Ascend-specific execution semantics. Kernels are first generated in the DSL using category-specific expert examples and then transcompiled into AscendC through structured, constraint-driven LLM lowering passes. Evaluated on MultiKernelBench across seven operator categories, AscendCraft achieves 98.1% compilation success and 90.4% functional correctness. Moreover, 46.2% of generated kernels match or exceed PyTorch eager execution performance, demonstrating that DSL-guided transcompilation can enable LLMs to generate both correct and competitive NPU kernels. Beyond benchmarks, AscendCraft further demonstrates its generality by successfully generating two correct kernels for newly proposed mHC architecture, achieving performance that substantially surpasses PyTorch eager execution.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 12 of its 19 references that are in the map. First posted on arXiv 30 Jan 2026.

Builds on

12 of 19 references.

References · 12

  1. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
  2. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
  3. 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 78
  4. 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimizationcited by 51
  5. 2025AutoTriton: Automatic Triton Programming with Reinforcement Learning in LLMscited by 40
  6. 2025MultiKernelBench: A Multi-Platform Benchmark for Kernel Generationcited by 38
  7. 2025TritonRL: Training LLMs to Think and Code Triton Without Cheatingcited by 24
  8. 2025QiMeng-Kernel: Macro-Thinking Micro-Coding Paradigm for LLM-Based High-Performance GPU Kernel Generationcited by 19
  9. 2025EvoEngineer: Mastering Automated CUDA Kernel Code Evolution with Large Language Modelscited by 13
  10. 2025PRAGMA: A Profiling-Reasoned Multi-Agent Framework for Automatic Kernel Optimizationcited by 11
  11. 2025AKG kernel Agent: A Multi-Agent Framework for Cross-Platform Kernel Synthesiscited by 7
  12. 2025Sharpen the Spec, Cut the Code: A Case for Generative File System with SYSSPECcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 7.

7 papers.