cubecl_wgpu

Function select_device

Source
pub async fn select_device<G: GraphicsApi, C: WgpuCompiler>(
    device: &WgpuDevice,
) -> (Device, Queue, Adapter)
Expand description

Select the wgpu device and queue based on the provided device.