Documentation
¶
Rendered for js/wasm
Overview ¶
Command enginetest is a minimal engine worker, as the playground's: the engine's browser executor (one Web Worker per container, the SAB bridge) with this module's host modules, wasi:webgpu and wasi-nn (CPU and WebGPU backends). It runs the containers listed in cases.json (a module URL, its arguments, whether it gets the gpu capability) and posts a JSON report of each one's output and exit code, and the adapter it ran on.
e2e/engine_test.go builds it, serves it with the isolation headers shared memory needs, and drives it with Playwright.
Click to show internal directories.
Click to hide internal directories.