-
Notifications
You must be signed in to change notification settings - Fork 45
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
WebGPU-Native -> WASI #48
Comments
There is an open issue to add WebGPU to WASI here: WebAssembly/WASI#53 |
Can you highlight what would be the difference between |
My hope is that there shouldn't be any difference ideally, to just land the webgpu-native as a formal wasi spec. |
|
@Kangz I agree, that is why I actually hope you and @kvark could champion the wasi-webgpu spec if possible, to ensure the consistency between the specs. There are three potential usecases of a GPU API:
WebGPU JS API covers K0, and potentially K2(via nodejs). Vulkan/metal covers K2. Currently webgpu-native covers K0 and K2. Having webgpu-native as part of WASI would greatly boost the importance of the webgpu-native, because it enables something that neither WebGPU JS API nor the other native APIs(vulkan) can offer(covers all the usecases). |
IMO adding WebGPU as a WASI spec should be outside the domain of this group. We'll define the header and API contracts and bringing it to WASI should hopefully be mechanical. If there are changes or decisions that need to be made about webgpu.h in order to support WASI, please file new issues! |
As part of the discussion here WebAssembly/WASI#276
There seems to be enough interest to bring webgpu native to WASI(on the wasi side). It would be welcoming devlopment that potentially makes webgpu-native run on wasm vms besides the web env. Just want to bring up the attention from this community, and see if it is of interest to the webgpu-native community (@lachlansneff already volunteered)
The text was updated successfully, but these errors were encountered: