Function burn::backend::wgpu::select_device
pub async fn select_device<G, C>(
device: &WgpuDevice,
) -> (Device, Queue, Adapter)where
G: GraphicsApi,
C: WgpuCompiler,
Expand description
Select the wgpu device and queue based on the provided device.