Skip to main content

Module runtime

Module runtime 

Source
Expand description

wgpu runtime: devices, queues, buffers, shaders, and cache management. Layer 0 GPU runtime: device, buffers, shader compilation, and dispatch.

Re-exports§

pub use workgroup_size::WORKGROUP_SIZE;
pub use cache::lru::AccessTracker;
pub use cache::tier::AccessStats;
pub use cache::tier::CacheError;
pub use cache::tier::LruPolicy;
pub use cache::tier::TierPolicy;
pub use device::cached_device::cached_device;
pub use shader::compile_compute_pipeline::compile_compute_pipeline;
pub use shader::compile_compute_pipeline::compile_compute_pipeline_with_layout;

Modules§

cache
Tiered caching for device buffers and shader pipelines. Tiered runtime cache primitives.
device
GPU device abstraction and initialization. GPU device abstraction and initialization.
serializer
Runtime wire-format serialization for multi-part programs. Runtime wire-format serialization for multi-part programs.
shader
Shader pipeline compilation and caching. Shader pipeline compilation and caching.
workgroup_size
Default GPU workgroup size constant used by primitive kernels.

Functions§

bg_entry
Build a bind group entry binding buffer at binding index.