-
Notifications
You must be signed in to change notification settings - Fork 641
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
Get WebGPU as an alternate backend #507
Comments
Agreed. Should be highest priority right now. WebGPU API will land in Chrome Stable within the next 8 Weeks. Once that is the case, it will quickly support > 50% devices. Demand for stable computing library will be very high. Compute Shaders should outperform the old WebGL texture based approach by a magnitude of 2-3 at least. I'm afraid there is the chance that if GPU.js doesn't offer a WebGPU backend soonish, another new library might take the place and quickly snatch up developers. |
https://github.com/gpuweb/types maybe its a good idea to just conform gpu.js to the webgpu standard. This way people can use gpu.js and it should work in gpu, canvas and webgpu. |
We would welcome some assistance adding a webgpu backend! Anyone available to help get a POC working? |
I'm trying to get a small team together to do a POC with this, fyi. |
Would love to join, unfortunately I am currently in the last weeks before launch, so just too constrained time wise. https://surma.dev/things/webgpu/ So far probably the best guide I found around the topic. |
@robertleeplummerjr I saw Dawn from chromium are working on binding for node. |
Hiya Robertlee whats the status on this one? |
It doesn't exist yet. I'm waiting for it to become stable and safe. |
Tensorflow is using it as a backend for some time now, https://github.com/tensorflow/tfjs/tree/master/tfjs-backend-webgpu |
Also Deno does webgpu out of the box, (to bad node will be a while before its anything good) |
What is wrong?
We need this in GPU.js, possibly as a sub-project: https://github.com/maierfelix/webgpu
Once it becomes stable, and well supported and tested, we could possibly make it the default fallback.
Where does it happen?
How do we replicate the issue?
How important is this (1-5)?
4
Expected behavior (i.e. solution)
Other Comments
The text was updated successfully, but these errors were encountered: