[WebGPU] allow build WebGPU EP for WebAssembly#23364
Conversation
|
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.