pub struct CooperativeMatrix {
pub f32_tile: u32,
pub f16_tile: u32,
}Expand description
Cooperative matrix support information.
Each field is a tile size (8 or 16), or 0 if that configuration is not supported. Naga supports square tiles only (8×8 and 16×16).
Fields§
§f32_tile: u32Tile size for all-f32 operations.
f16_tile: u32Tile size for f16-input, f32-accumulator operations.
Implementations§
Source§impl CooperativeMatrix
impl CooperativeMatrix
Sourcepub fn is_supported(&self) -> bool
pub fn is_supported(&self) -> bool
Returns true if any cooperative matrix configuration is supported.
Trait Implementations§
Source§impl Clone for CooperativeMatrix
impl Clone for CooperativeMatrix
Source§fn clone(&self) -> CooperativeMatrix
fn clone(&self) -> CooperativeMatrix
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CooperativeMatrix
impl Debug for CooperativeMatrix
Source§impl Default for CooperativeMatrix
impl Default for CooperativeMatrix
Source§fn default() -> CooperativeMatrix
fn default() -> CooperativeMatrix
Returns the “default value” for a type. Read more
Source§impl PartialEq for CooperativeMatrix
impl PartialEq for CooperativeMatrix
impl Copy for CooperativeMatrix
impl StructuralPartialEq for CooperativeMatrix
Auto Trait Implementations§
impl Freeze for CooperativeMatrix
impl RefUnwindSafe for CooperativeMatrix
impl Send for CooperativeMatrix
impl Sync for CooperativeMatrix
impl Unpin for CooperativeMatrix
impl UnsafeUnpin for CooperativeMatrix
impl UnwindSafe for CooperativeMatrix
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