open-standards/wai/wai-ops-gpu/tests/support
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science 88fbb56869 wai-ops-gpu: the corpus through a browser's WebGPU
browser/ is a wasm32 module that runs every graph vector of ops-conformance
on the WebGPU adapter a page is offered, the kernels compiled by the
browser's own WGSL compiler, and holds each decode to the committed result
and to the interpreter running in the same page. run.mjs serves it with the
corpus and drives a headless browser (on macOS through Metal), and fails on a
mismatch, a device error or a page error, or, under WAI_OPS_GPU_REQUIRE=1,
when no adapter ran the corpus.

tests/support/corpus.rs now parses a file apart from reading it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 04:28:40 -04:00
..
corpus.rs wai-ops-gpu: the corpus through a browser's WebGPU 2026-10-21 04:28:40 -04:00