pub struct SplitKernels {
pub parts: Vec<String>,
pub n_scratch: usize,
pub workgroup_size: u32,
}Expand description
WGSL kernels that together compute a graph’s outputs, run in order over
the same environments: each reads inputs (n_inputs per environment)
and a per-environment scratch (n_scratch floats), and the last writes
outputs. Bindings: 0 inputs (read), 1 scratch (read_write),
2 outputs (read_write), 3 the uniform count; entry point main.
Fields§
§parts: Vec<String>Kernel sources, in launch order.
n_scratch: usizeScratch floats per environment.
workgroup_size: u32Workgroup size of every part.
Auto Trait Implementations§
impl Freeze for SplitKernels
impl RefUnwindSafe for SplitKernels
impl Send for SplitKernels
impl Sync for SplitKernels
impl Unpin for SplitKernels
impl UnsafeUnpin for SplitKernels
impl UnwindSafe for SplitKernels
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more