Structs§
- Auto
Graphics Api - Automatic graphics API based on OS.
- Dx12
- DirectX 12 graphics API.
- Metal
- Metal graphics API.
- OpenGl
- OpenGL graphics API.
- Runtime
Options - The values that control how a WGPU Runtime will perform its calculations.
- Vulkan
- Vulkan graphics API.
- WebGpu
- WebGpu graphics API.
- Wgpu
Resource - The memory resource that can be allocated for wgpu.
- Wgpu
Runtime - Runtime that uses the wgpu crate with the wgsl compiler. This is used in the Wgpu backend.
For advanced configuration, use
init_setup
to pass in runtime options or to select a specific graphics API. - Wgpu
Server - Wgpu compute server.
- Wgpu
Setup - A complete setup used to run wgpu.
- Wgpu
Storage - Buffer storage for wgpu.
- Wgsl
Compiler - Wgsl Compiler.
Enums§
- Auto
Compiler - Auto
Representation - Memory
Configuration - High level configuration of memory management.
- Wgpu
Device - The device struct when using the
wgpu
backend.
Traits§
- Float
Element - The float element type for the wgpu backend.
- Graphics
Api - The basic trait to specify which graphics API to use as Backend.
- IntElement
- The int element type for the wgpu backend.
- Wgpu
Element - The base element trait for the wgpu backend.
Functions§
- init_
device - Create a
WgpuDevice
on an existingWgpuSetup
. Useful when you want to share a device between CubeCL and other wgpu-dependent libraries. - init_
setup - Like
init_setup_async
, but synchronous. On wasm, it is necessary to useinit_setup_async
instead. - init_
setup_ async - 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.