Datasets:
problem stringclasses 191
values | mutant_id stringlengths 11 61 | rule stringclasses 86
values | family stringclasses 6
values | site stringlengths 3 48 ⌀ | cls stringclasses 3
values | killed_by_official bool 2
classes | witness stringclasses 168
values |
|---|---|---|---|---|---|---|---|
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:acc-minus:0 | acc-minus | semantic | spatial_sum += | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:acc-overwrite:0 | acc-overwrite | semantic | spatial_sum += | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:bdim2gdim:0 | bdim2gdim | indexing | blockDim.x | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:bidx2bidy:0 | bidx2bidy | indexing | blockIdx.x | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:clamp-bound-perturb:0 | clamp-bound-perturb | precision | fminf(fmaxf(pooled_max, -1.0f), 1.0f) | high_value | false | T2_misaligned |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:const0to1:0 | const0to1 | semantic | = 0.0f; | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:fmax2fmin:0 | fmax2fmin | semantic | fmaxf( | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:fmax2fmin:1 | fmax2fmin | semantic | fmaxf( | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:fmin2fmax:0 | fmin2fmax | semantic | fminf( | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:ge2gt:0 | ge2gt | boundary | output_index >= output_elements) | no_witness | false | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:ge2gt:1 | ge2gt | boundary | convolution_y >= convolution_height) | no_witness | false | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:ge2gt:2 | ge2gt | boundary | convolution_x >= convolution_width) | no_witness | false | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:ge2gt:3 | ge2gt | boundary | input_y >= input_height) | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:ge2gt:4 | ge2gt | boundary | input_x >= input_width) | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:grid-x-use-block-y:0 | grid-x-use-block-y | indexing | blockIdx.x * blockDim.x + threadIdx.x | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:last-row-reduction-skip:0 | last-row-reduction-skip | boundary | for (int pooled_y = 0; pooled_y < pooled_height; | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:last-row-reduction-skip:1 | last-row-reduction-skip | boundary | for (int pooled_x = 0; pooled_x < pooled_width; | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:last-row-reduction-skip:2 | last-row-reduction-skip | boundary | for (int pool_y = 0; pool_y < 2; pool_y++) | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:last-row-reduction-skip:3 | last-row-reduction-skip | boundary | for (int pool_x = 0; pool_x < 2; pool_x++) | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:loop-bound-minus1:0 | loop-bound-minus1 | boundary | ; pooled_y < pooled_height; pooled_y++ | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:loop-bound-minus1:1 | loop-bound-minus1 | boundary | ; pooled_x < pooled_width; pooled_x++ | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:loop-bound-minus1:2 | loop-bound-minus1 | boundary | ; pool_y < 2; pool_y++ | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:loop-bound-minus1:3 | loop-bound-minus1 | boundary | ; pool_x < 2; pool_x++ | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:loop-start-1:0 | loop-start-1 | boundary | for (int pooled_y = 0; | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:loop-start-1:1 | loop-start-1 | boundary | for (int pooled_x = 0; | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:loop-start-1:2 | loop-start-1 | boundary | for (int pool_y = 0; | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:loop-start-1:3 | loop-start-1 | boundary | for (int pool_x = 0; | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:loop-start-1:4 | loop-start-1 | boundary | for (int input_channel = 0; | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:loop-start-1:5 | loop-start-1 | boundary | for (int kernel_y = 0; | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:loop-start-1:6 | loop-start-1 | boundary | for (int kernel_x = 0; | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:lower-negunit-clamp-remove:0 | lower-negunit-clamp-remove | semantic | fmaxf(pooled_max, -1.0f) | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:minus2plus:1 | minus2plus | arithmetic | 1 - kernel_y | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:minus2plus:2 | minus2plus | arithmetic | 1 - kernel_x | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:mul2div:0 | mul2div | arithmetic | blockIdx.x * blockDim.x | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:mul2div:1 | mul2div | arithmetic | pooled_y * 2 | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:mul2div:2 | mul2div | arithmetic | pooled_x * 2 | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:mul2div:3 | mul2div | arithmetic | batch * input_channels | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:mul2div:4 | mul2div | arithmetic | input_channel * output_channels | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:mul2div:5 | mul2div | arithmetic | x[input_index] * weight[weight_index] | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:mul2div:6 | mul2div | arithmetic | pooled_height * pooled_width | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:mul2plus:0 | mul2plus | arithmetic | blockIdx.x * blockDim.x | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:mul2plus:1 | mul2plus | arithmetic | pooled_y * 2 | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:mul2plus:2 | mul2plus | arithmetic | pooled_x * 2 | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:mul2plus:3 | mul2plus | arithmetic | batch * input_channels | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:mul2plus:4 | mul2plus | arithmetic | input_channel * output_channels | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:mul2plus:5 | mul2plus | arithmetic | x[input_index] * weight[weight_index] | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:mul2plus:6 | mul2plus | arithmetic | pooled_height * pooled_width | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:nested-unit-clamp-drop-upper:0 | nested-unit-clamp-drop-upper | semantic | fminf(fmaxf(pooled_max, -1.0f), 1.0f) | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:plus2minus:0 | plus2minus | arithmetic | blockDim.x + threadIdx.x | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:plus2minus:1 | plus2minus | arithmetic | 2 + pool_y | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:plus2minus:2 | plus2minus | arithmetic | 2 + pool_x | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:plus2minus:4 | plus2minus | arithmetic | convolution_y + 1 | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:plus2minus:5 | plus2minus | arithmetic | convolution_x + 1 | high_value | false | T1_signed |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:plus2minus:6 | plus2minus | arithmetic | input_width + input_x | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:plus2minus:7 | plus2minus | arithmetic | kernel_width + kernel_x | killed_by_T0 | true | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:reduce-fmax-tie-order:0 | reduce-fmax-tie-order | semantic | pooled_max = fmaxf(pooled_max, convolution_value | high_value | false | T2_misaligned |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:return-guard-drop:0 | return-guard-drop | boundary | if (output_index >= output_elements) return; | high_value | false | T2_misaligned |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:store-fp16:0 | store-fp16 | precision | out[output_index] = tanhf(spatial_mean); | no_witness | false | null |
L2p10_convtranspose2d_maxpoo | L2p10_convtranspose2d_maxpoo:tidx2tidy:0 | tidx2tidy | indexing | threadIdx.x | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-fp16:2214 | acc-fp16 | precision | local_sum | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-minus:0 | acc-minus | semantic | linear += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-minus:1 | acc-minus | semantic | sum += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-minus:10 | acc-minus | semantic | i += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-minus:2 | acc-minus | semantic | sample += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-minus:3 | acc-minus | semantic | local_sum += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-minus:4 | acc-minus | semantic | local_sq += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-minus:5 | acc-minus | semantic | sample += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-minus:6 | acc-minus | semantic | linear += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-minus:7 | acc-minus | semantic | i += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-minus:8 | acc-minus | semantic | local_sum += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-minus:9 | acc-minus | semantic | local_sq += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-overwrite:0 | acc-overwrite | semantic | linear += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-overwrite:1 | acc-overwrite | semantic | sum += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-overwrite:10 | acc-overwrite | semantic | i += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-overwrite:2 | acc-overwrite | semantic | sample += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-overwrite:3 | acc-overwrite | semantic | local_sum += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-overwrite:4 | acc-overwrite | semantic | local_sq += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-overwrite:5 | acc-overwrite | semantic | sample += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-overwrite:6 | acc-overwrite | semantic | linear += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-overwrite:7 | acc-overwrite | semantic | i += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-overwrite:8 | acc-overwrite | semantic | local_sum += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:acc-overwrite:9 | acc-overwrite | semantic | local_sq += | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:bdim2gdim:0 | null | null | null | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:bdim2gdim:1 | bdim2gdim | indexing | blockDim.x | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:bdim2gdim:2 | bdim2gdim | indexing | blockDim.x | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:bdim2gdim:3 | bdim2gdim | indexing | blockDim.x | no_witness | false | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:bdim2gdim:4 | bdim2gdim | indexing | blockDim.x | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:bdim2gdim:5 | bdim2gdim | indexing | blockDim.x | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:const0to1:0 | const0to1 | semantic | = 0.0f; | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:const0to1:1 | const0to1 | semantic | = 0.0f; | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:const0to1:2 | const0to1 | semantic | = 0.0f; | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:const0to1:3 | const0to1 | semantic | = 0.0f; | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:fmax2fmin:0 | fmax2fmin | semantic | fmaxf( | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:fmax2fmin:1 | fmax2fmin | semantic | fmaxf( | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:fmax2fmin:2 | fmax2fmin | semantic | fmaxf( | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:fmax2fmin:3 | fmax2fmin | semantic | fmaxf( | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:fmax2fmin:4 | fmax2fmin | semantic | fmaxf( | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:ge2gt:0 | ge2gt | boundary | iy >= input_height) | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:ge2gt:1 | ge2gt | boundary | ix >= input_width) | killed_by_T0 | true | null |
L2p11_convtranspose2d_batchn | L2p11_convtranspose2d_batchn:groupnorm-epsilon-halved:0 | groupnorm-epsilon-halved | precision | + 1.0e-5f) | no_witness | false | null |
KernelBench-M
The measurement artifact for Measuring the Checker: Mutation Analysis for GPU-Kernel Benchmark Oracles: the mutation operators, the verified CUDA substrates they mutate, the kill witnesses, and the pipeline that produced every number in the paper.
Layout
rules/ 124 mutation rules, six families (mutator.py loads all of them)
substrates/ 208 gate-verified CUDA implementations, one per KernelBench
problem: the mutation targets. Never used as oracle.
witnesses/ per-problem kill records: for every mutant, its rule, family,
mutated site, whether the official protocol kills it, and — when
it survives — a suite that does
pipeline/ the measurement code (screening, kill matrix, audit, set cover)
summary.json per-problem mutant / witnessed / official-kill counts
validation/ errata, validation evidence, and quarantined historical records
The substrate count above describes the original release. InstanceNorm's repaired source has passed H100 re-admission; its active witness and summary records now describe the repaired source and expanded regression suites.
Dataset Viewer and library access
The viewer's default configuration contains one row per mutation record in
the active witnesses/*.json files, with problem and mutant_id identifying
its source. The other columns preserve the original witness fields, including
null values. The validation split is a browsing table of all active records;
the dev/test assignment for the paper remains in holdout.json.
from datasets import load_dataset
records = load_dataset("Elfsong/KernelBench-M", split="validation")
# Use streaming=True to iterate without downloading the entire table first.
data/witnesses.jsonl is generated by pipeline/export_hf_viewer.py. After
updating active witness records, run python pipeline/export_hf_viewer.py
from the repository root; --check verifies that the export is up to date.
The explicit data_files configuration keeps the separate, heterogeneous
reports in validation/ out of the viewer's table.
Supporting records: mechanism_curves.json (Fig. 2b–c), holdout.json
(dev/test split), ladder_summary.json (knowledge ladder),
gate_report.json (substrate admission), invalid_suites.json (suites
rejected for crossing the validity ceiling).
What a substrate is, and is not
KernelBench ships PyTorch references whose GPU execution bottoms out in closed
cuDNN/cuBLAS binaries, so there is no source to mutate. A substrate is a
correct CUDA implementation of the same computation, used only as a
mutation target. The oracle stays the benchmark's own PyTorch reference. Each
substrate is admitted by pipeline/gate_candidates.py, which compares it
against that reference on every suite before it may enter the pool
(gate_report.json records admissions and rejections).
Witness format
"softmax:barrier-drop:3": {
"rule": "barrier-drop", "family": "sync",
"site": "__syncthreads();",
"cls": "high_value",
"killed_by_official": false,
"witness": "T2_misaligned_batch"
}
cls is killed_by_T0 (the official inputs detect it), high_value (survives
the official inputs, a targeted input detects it), or no_witness (nothing we
have detects it — an equivalence or oracle-blindness candidate, excluded from
every denominator in the paper).
Reproducing
Requires an NVIDIA GPU with CUDA 12.x and PyTorch. From pipeline/:
python screen_mutants.py # generate, filter, and screen mutants
python full_matrix.py # kill matrix over all suites
python audit_matrix.py # score competing protocols (§5)
python analyze_cover.py # set-cover suite synthesis (§6)
python analyze_holdout.py # dev/test holdout (§6)
Each stage writes append-only JSONL journals and resumes from them, so a
crashed or preempted run can simply be restarted. SHARD_ID/SHARD_N split
problems across GPUs; STEAL=1 lets an idle worker pick up unclaimed problems.
Caveats
Mutation score is adequacy relative to this fault model, not absolute correctness: these operators cannot express faults living in structures the substrates do not contain (tensor-core paths, double-buffered pipelines), nor multi-site interactions. The artifact supports comparative claims between protocols and existence claims about specific faults. It cannot certify that a kernel passing these suites is correct.
Acknowledgments
Thanks to Jayden Vasquez for reporting the InstanceNorm numerical issue and providing a reproducer and initial fix.
- Downloads last month
- 835