Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Nie, Jiayi, Wu, Haoran, Lai, Yao, Cao, Zeyu, Zhang, Cheng, Lou, Binglei, Wang, Erwei, Cheng, Jianyi, Jones, Timothy M., Mullins, Robert, Antonova, Rika, Zhao, Yiren
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2603.08721
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916063084544000
author Nie, Jiayi
Wu, Haoran
Lai, Yao
Cao, Zeyu
Zhang, Cheng
Lou, Binglei
Wang, Erwei
Cheng, Jianyi
Jones, Timothy M.
Mullins, Robert
Antonova, Rika
Zhao, Yiren
author_facet Nie, Jiayi
Wu, Haoran
Lai, Yao
Cao, Zeyu
Zhang, Cheng
Lou, Binglei
Wang, Erwei
Cheng, Jianyi
Jones, Timothy M.
Mullins, Robert
Antonova, Rika
Zhao, Yiren
contents New AI accelerators with novel instruction set architectures (ISAs) often require developers to manually craft low-level kernels, a time-consuming and error-prone process that does not scale across hardware targets. This delays emerging hardware platforms from reaching the market. While prior LLM-based code generation has shown promise in mature GPU ecosystems, it remains unclear whether agentic LLM systems can quickly produce valid and efficient kernels for emerging hardware with new ISAs. We present KernelCraft: the first benchmark for evaluating an LLM agent's ability to generate and optimize low-level kernels for customized accelerators through a function-calling, feedback-driven workflow. We evaluate agent performance across three emerging accelerators on more than 20 machine-learning tasks, each with five diverse task configurations. Across four leading reasoning models, the strongest agents generate functionally correct kernels for unseen ISAs within a few refinement steps and produce optimized kernels that match or outperform compiler baselines. These results demonstrate KernelCraft's potential to accelerate the accelerator chip development cycle. KernelCraft is available at https://kernelcraft-cam.github.io/.
format Preprint
id arxiv_https___arxiv_org_abs_2603_08721
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardware
Nie, Jiayi
Wu, Haoran
Lai, Yao
Cao, Zeyu
Zhang, Cheng
Lou, Binglei
Wang, Erwei
Cheng, Jianyi
Jones, Timothy M.
Mullins, Robert
Antonova, Rika
Zhao, Yiren
Hardware Architecture
Machine Learning
Software Engineering
New AI accelerators with novel instruction set architectures (ISAs) often require developers to manually craft low-level kernels, a time-consuming and error-prone process that does not scale across hardware targets. This delays emerging hardware platforms from reaching the market. While prior LLM-based code generation has shown promise in mature GPU ecosystems, it remains unclear whether agentic LLM systems can quickly produce valid and efficient kernels for emerging hardware with new ISAs. We present KernelCraft: the first benchmark for evaluating an LLM agent's ability to generate and optimize low-level kernels for customized accelerators through a function-calling, feedback-driven workflow. We evaluate agent performance across three emerging accelerators on more than 20 machine-learning tasks, each with five diverse task configurations. Across four leading reasoning models, the strongest agents generate functionally correct kernels for unseen ISAs within a few refinement steps and produce optimized kernels that match or outperform compiler baselines. These results demonstrate KernelCraft's potential to accelerate the accelerator chip development cycle. KernelCraft is available at https://kernelcraft-cam.github.io/.
title KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardware
topic Hardware Architecture
Machine Learning
Software Engineering
url https://arxiv.org/abs/2603.08721