-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
I was looking for ways to enumerate available devices (with wgpu
, but also applicable for other backends), but didn't find it.
Enumeration is used internally here:
cubecl/crates/cubecl-wgpu/src/runtime.rs
Lines 397 to 398 in d4e896a
instance | |
.enumerate_adapters(backend.into()) |
Would be great to expose it in some way publicly. In fact you could make WgpuDevice
something that is returned by that list and not constructable explicitly for better misuse resistance.
nathanielsimard
Metadata
Metadata
Assignees
Labels
No labels