-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add convenience function enumerate_adapters
#409
Comments
The wgpy-native implementation: https://github.com/gfx-rs/wgpu-native/blob/cf02ef3a28c92340483a0393505717bc66103d18/ffi/wgpu.h#L226 Good point. We could add it. The function is not part of the WebGPU spec, but an extra convenience function by wgpu-native. That's why the code-generation has not told us to add it yet. Will update the title of this issue accordingly. |
enumerate_adapters
?enumerate_adapters
Could this be just to provide something like a dropdown to select an adapter? What's the purpose? |
I use only the compute shader for scientific computation purpose (no visualization needed for now). I would like to select a specific GPU for that. Thank you all for the feedback |
I also have this use case working with scientific data where it would be beneficial to be able to partition work across multiple GPUs on one system, or let user make an informed choice of which GPU is more powerful. |
Hi wgpu-py Team,
I can not find
enumerate_adapters()
to just get an idea of all gpu available in a machine.is there an alternative way to do that and this is something to add?
Thank you for the feedback.
The text was updated successfully, but these errors were encountered: