Skip to main content

Module runtime

Module runtime 

Source
Expand description

Layer 0 GPU runtime: device, buffers, shader compilation, and dispatch.

Re-exports§

pub use cache::lru::AccessTracker;
pub use cache::AccessStats;
pub use cache::CacheError;
pub use cache::LruPolicy;
pub use device::cached_adapter_info;
pub use device::cached_device;
pub use device::init_device;
pub use shader::compile_compute_pipeline::compile_compute_pipeline;
pub use shader::compile_compute_pipeline::compile_compute_pipeline_with_layout;

Modules§

adapter_caps_probe
Adapter-caps probe (C-B10).
cache
Tiered caching for device buffers and shader pipelines. Tiered runtime cache primitives.
device
GPU device abstraction and initialization. GPU device abstraction and initialization.
indirect
Indirect dispatch path (C-B4).
prerecorded
Pre-recorded persistent dispatch command buffers. Pre-recorded persistent dispatch command buffers.
readback_ring
Async readback ring (C-B5).
router
Runtime backend auto-picker (C-B11).
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.

Functions§

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