Function burn::backend::wgpu::init_sync

pub fn init_sync<G>(device: &WgpuDevice, options: RuntimeOptions)
where G: GraphicsApi,
Expand description

Initialize a client on the given device with the given options. This function is useful to configure the runtime options or to pick a different graphics API. On wasm, it is necessary to use init_async instead.