Skip to main content

Module functions

Module functions 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Traits§

ComputeBackend
Trait for a compute backend (GPU or CPU fallback).
ComputeKernel
Trait for a compute kernel that can be dispatched on a backend.

Functions§

analyse_warp_divergence
Simulate warp divergence by analysing a boolean predicate over work items.
compute_num_workgroups
Compute the number of workgroups needed for a 1D dispatch.
compute_num_workgroups_3d
Compute workgroup counts for a 3D dispatch.
detect_aliasing
Detect whether any buffers in a pass alias the same storage.
required_barrier
Determine the required pipeline barrier between two kernel passes.