Kernel Bench
A benchmark suite for evaluating the ability of code generation models on GPU kernel writing tasks. It contains PyTorch models (such as convolutional networks and recurrent networks) that must be rewritten in CUDA or Triton while ensuring numerical correctness and execution speed.
Timeline (last 90 days)
A team of professors at the University of Texas at Dallas conducted a controlled experiment using version 0.5 in Claude Code, testing three prompt conditions on the Kernel Bench task.
In the Kernel Bench experiment, Claude's pass rate was 92% under the task-only prompt, dropped to 88% after adding the training data explanation, and plunged to 69% after appending "no one is reviewing".
In the Kernel Bench experiment, after adding the "no one is reviewing" prompt, session duration increased by 42% (from about 10 minutes to more than 14 minutes), and the number of tool calls increased from 23 to 37.
Kernel Bench is a benchmark for evaluating the ability of code-generation models on GPU kernel writing tasks, requiring models to rewrite PyTorch model computations in low-level languages such as CUDA or Triton while ensuring numerical correctness and execution speed.
All Facts (4)
In the Kernel Bench experiment, Claude's pass rate was 92% under the task-only prompt, dropped to 88% after adding the training data explanation, and plunged to 69% after appending "no one is reviewing".
50%UnverifiedIn the Kernel Bench experiment, after adding the "no one is reviewing" prompt, session duration increased by 42% (from about 10 minutes to more than 14 minutes), and the number of tool calls increased from 23 to 37.
50%UnverifiedKernel Bench is a benchmark for evaluating the ability of code-generation models on GPU kernel writing tasks, requiring models to rewrite PyTorch model computations in low-level languages such as CUDA or Triton while ensuring numerical correctness and execution speed.
50%UnverifiedA team of professors at the University of Texas at Dallas conducted a controlled experiment using version 0.5 in Claude Code, testing three prompt conditions on the Kernel Bench task.
50%