pub struct StaticProgramShape {
pub workgroup_size: [u32; 3],
pub workgroup_count: Option<[u32; 3]>,
pub output_bytes: u64,
}Expand description
Static program shape used to disambiguate autotuner decisions.
Fields§
§workgroup_size: [u32; 3]Declared or overridden workgroup shape.
workgroup_count: Option<[u32; 3]>Static workgroup-count override when known.
output_bytes: u64Static visible output byte count used by the dispatch.
Implementations§
Trait Implementations§
Source§impl Clone for StaticProgramShape
impl Clone for StaticProgramShape
Source§fn clone(&self) -> StaticProgramShape
fn clone(&self) -> StaticProgramShape
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 moreimpl Copy for StaticProgramShape
Source§impl Debug for StaticProgramShape
impl Debug for StaticProgramShape
impl Eq for StaticProgramShape
Source§impl PartialEq for StaticProgramShape
impl PartialEq for StaticProgramShape
Source§fn eq(&self, other: &StaticProgramShape) -> bool
fn eq(&self, other: &StaticProgramShape) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StaticProgramShape
Auto Trait Implementations§
impl Freeze for StaticProgramShape
impl RefUnwindSafe for StaticProgramShape
impl Send for StaticProgramShape
impl Sync for StaticProgramShape
impl Unpin for StaticProgramShape
impl UnsafeUnpin for StaticProgramShape
impl UnwindSafe for StaticProgramShape
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.