cubecl_wgpu

Function init_sync

Source
pub fn init_sync<G: GraphicsApi>(device: &WgpuDevice, options: RuntimeOptions)
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.