KernelShift: Benchmarking Kernel Optimization Across Evolving Hardware
Shuaiwei HuangWeihua DuAllen WuIvan FoxManupa KarunaratneYiming YangSean Welleck
Shuaiwei Huang
Weihua Du
Allen Wu
Ivan Fox
Manupa Karunaratne
Yiming Yang
Sean Welleck
+7
KernelShift is a benchmarking pipeline and environment set for evaluating coding agents on CPU kernel optimization as hardware architectures evolve, using an agent-assisted, human-verified process that converts actively developed repositories (ncnn, llama.cpp, Arm SIMD Loops, KleidiAI) into 99 benchmark kernels, including inference workloads from real model executions. Agents with proprietary and open-weight models are tested across progressively newer Arm extensions (Neon, SVE, SVE2, SME2). On established extensions agents beat the auto-vectorized compiler everywhere (2.4-19.8x), reach up to 2.74x over ncnn's Neon kernels, but trail KleidiAI hand-tuned kernels (0.70x); agent-written kernels give a 1.3-1.6x prefill speedup over llama.cpp's fast path in end-to-end inference of two LLMs, yet agents do not reliably adapt to unfamiliar programming models such as SME2's matrix tiles.

arXiv ·
· November 22, 2026