Structs§
- Automatic graphics API based on OS.
- DirectX 12 graphics API.
- Generic tensor backend that can be compiled just-in-time to any shader runtime
- The basic tensor primitive struct.
- Metal graphics API.
- OpenGL graphics API.
- The values that control how a WGPU Runtime will perform its calculations.
- Vulkan graphics API.
- WebGpu graphics API.
- The memory resource that can be allocated for wgpu.
- Runtime that uses the [wgpu] crate with the wgsl compiler. This is used in the Wgpu backend. For advanced configuration, use
init_sync
to pass in runtime options or to select a specific graphics API. - Wgpu compute server.
- Buffer storage for wgpu.
- Wgsl Compiler.
Enums§
- High level configuration of memory management.
- The device struct when using the
wgpu
backend.
Traits§
- The float element type for the jit backend.
- The basic trait to specify which graphics API to use as Backend.
- The int element type for the jit backend.
- The base element trait for the wgpu backend.
Functions§
- Like
init_sync
, but async, necessary for wasm. - 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. - Select the wgpu device and queue based on the provided device.
Type Aliases§
- Tensor backend that uses the wgpu crate for executing GPU compute shaders.