-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[WebGPU] allow build WebGPU EP for WebAssembly #23364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can commit the suggested changes from lintrunner.
|
Detailed explanation of why this PR contains a patch_3.1.74.tgz file: Ideally, Emscripten should be able to compile C++ code that uses webgpu, only by appending
However, the actual WebGPU support in Emscripten is still ongoing, and the existing implementation in Emscripten is fall behind. Dawn maintains a newer implementation of The build process will generate the dependencies of In this PR, I include the file gen_struct_info.py inside folder cmake/patches/emscripten. If I put the original file, our Linter will be unhappy and the build is blocked, so I need to make a tar file and use cmake to extract during the build process. |
### Description This PR allows WebGPU EP to be built with Emscripten for WebAssembly, Including: - cmake build files update to support correct setup for Emscripten. - code changes to fix build breaks for wasm - change in Web CI pipeline to add a build-only target for wasm with `--use_webgpu`.
This PR allows WebGPU EP to be built with Emscripten for WebAssembly, Including: - cmake build files update to support correct setup for Emscripten. - code changes to fix build breaks for wasm - change in Web CI pipeline to add a build-only target for wasm with `--use_webgpu`.
### Description This PR allows WebGPU EP to be built with Emscripten for WebAssembly, Including: - cmake build files update to support correct setup for Emscripten. - code changes to fix build breaks for wasm - change in Web CI pipeline to add a build-only target for wasm with `--use_webgpu`.
### Description This PR allows WebGPU EP to be built with Emscripten for WebAssembly, Including: - cmake build files update to support correct setup for Emscripten. - code changes to fix build breaks for wasm - change in Web CI pipeline to add a build-only target for wasm with `--use_webgpu`.
Description
This PR allows WebGPU EP to be built with Emscripten for WebAssembly, Including:
--use_webgpu.