Skip to main content
Some GPU bugs only appear on some shapes, some inputs, or some schedules. This run verifies four such kernels with CUDA_VISIBLE_DEVICES='', so no GPU is visible:
With zero GPUs visible, theformalera verify fails all four kernels in 5.7 seconds; explain shows an int32 overflow for T=61682 and a write-write conflict

How they are found

  • Integer overflow is checked with an SMT solver over the whole shape domain, not by sampling. That is how the exact boundary T = 61682 comes out.
  • Float overflow uses interval analysis over the declared value domain (bf16 activations, |x| ≤ 65504).
  • Races and out-of-bounds accesses are found by an instrumented interpreter that records every address every program touches. A race shows up as two programs writing the same address, deterministically, whatever the schedule.
On a GPU, the unmasked store produces correct or wrong output depending on which program happens to run last. On a CPU, the verifier reports it every time.