onnxruntime
onnxruntime copied to clipboard
[WIP] WebGPU EP [skip ci]
Description
For code review purpose only. Offer a place for discussion.
see also:
prerequisite:
- #22318
- #21910
- #22413
related changes:
- #21838
- #21894
- #21893
- #17816
- #17706
- #21940
TODO items
- [x] Validation Switch (allows to change the behavior of whether perform specific validation checks)
- [x] pushErrorScope/popErrorScope
- [ ] ~~Graph Capture~~
- [x] Profiling supported by WebGPU Query Buffer
- [ ] ~~WebGPU resources tracking (mainly for buffers)~~
- [ ] ~~Global hanlders( unhandled exceptions and device lost )~~
- [ ] Fix CI breaks (macOS)
/azp run Windows GPU WebGPU CI Pipeline
No pipelines are associated with this pull request.
@fs-eire on this branch is it already possible to test in nodejs, compiling in my side?
@fs-eire on this branch is it already possible to test in nodejs, compiling in my side?
Yes. Just do build with flags --config Release --use_webgpu --build_nodejs and it should work.
Most part of this working branch is already merged into main, or in review. Close this draft.
future PRs can target main branch directly.