feat(gpu): WebGPU backend for the WASM target inside the ordinary GPU dispatch (with explicit CPU fallback and refusal) - #562
Open
tsotchke wants to merge 4 commits into
Open
feat(gpu): WebGPU backend for the WASM target inside the ordinary GPU dispatch (with explicit CPU fallback and refusal)#562tsotchke wants to merge 4 commits into
tsotchke wants to merge 4 commits into
Conversation
… dispatch (with explicit CPU fallback and refusal) Adds an ESHKOL_GPU_WEBGPU dispatch seam selected by the same runtime dispatch that picks Metal and CUDA, with Emscripten backend selection, a WebGPU C backend, WGSL kernels for the ops the GPU correctness gate covers, and explicit CPU fallback or refusal where a kernel cannot meet the gate tolerance. JS glue stubs for every new runtime function; docs and feature matrix updated to the verified status.
…xecution marker; high/fast tiers fail closed unless certified; JSPI-promising wrappers on WASM exports; batch matmul imports in both loaders; elementwise workgroup limits and buffer cleanup
…uards; precision tiers fail closed with explicit fast opt-in; promising wasm callbacks
…g, validation error scopes, live Chrome coverage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an ESHKOL_GPU_WEBGPU dispatch seam selected by the same runtime dispatch that picks Metal and CUDA, with Emscripten backend selection, a WebGPU C backend, WGSL kernels for the ops the GPU correctness gate covers, and explicit CPU fallback or refusal where a kernel cannot meet the gate tolerance. JS glue stubs for every new runtime function; docs and feature matrix updated to the verified status.