Skip to content

GPU fallback ​

Guards that hold with or without an adapter, and precision dispatch

4/5 passed in 315ms

TestWhat it doesResult
test_absent_gpu_is_not_an_errorWith no adapter the four GPU entry points raise naming the missing compute path.⏭️ skip
test_cpu_path_needs_no_gpuThe f64 arbiter runs whatever the adapter situation is.✅ pass
test_mirror_matches_pipelineThe f64 arbiter reproduces run_symbols' oracle branch -- slope 1e-12, xi 1e-10, pilot SNR 1e-8 -- and arbitrates only while cpu_symbols mirrors the WGSL.✅ pass
test_precision_not_deviceDispatch is by precision: a GPU reports f32 and refuses f64, WGSL having none, while the f64 key rate stays reachable.✅ pass
test_probe_always_answersgpu_probe() names the adapter or says why there is none, never nothing.✅ pass