pub struct DispatchShape {
pub id: &'static str,
pub workgroup_size: [u32; 3],
pub shared_memory_bytes: u32,
pub inputs: Vec<&'static str>,
pub outputs: Vec<&'static str>,
pub specs: SpecMap,
}Expand description
One dispatch’s pre-fusion description.
Fields§
§id: &'static strStable id for this dispatch inside the containing program.
workgroup_size: [u32; 3]Workgroup size [x, y, z].
Per-dispatch shared memory bytes.
inputs: Vec<&'static str>Buffers this dispatch reads.
outputs: Vec<&'static str>Buffers this dispatch writes.
specs: SpecMapSpecialization constants baked into this dispatch.
Trait Implementations§
Source§impl Clone for DispatchShape
impl Clone for DispatchShape
Source§fn clone(&self) -> DispatchShape
fn clone(&self) -> DispatchShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DispatchShape
impl RefUnwindSafe for DispatchShape
impl Send for DispatchShape
impl Sync for DispatchShape
impl Unpin for DispatchShape
impl UnsafeUnpin for DispatchShape
impl UnwindSafe for DispatchShape
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