Function burn::backend::wgpu::init_async
pub async fn init_async<G>(device: &WgpuDevice, options: RuntimeOptions)where
G: GraphicsApi,
Expand description
Like init_sync
, but async, necessary for wasm.
pub async fn init_async<G>(device: &WgpuDevice, options: RuntimeOptions)where
G: GraphicsApi,
Like init_sync
, but async, necessary for wasm.