pub struct CoopMatrixDescriptor {
pub component_type: CoopMatrixComponentType,
pub use_kind: CoopMatrixUse,
pub rows: u32,
pub cols: u32,
pub stride: u32,
}Expand description
Describes a single cooperative-matrix tile (component type, use, shape).
Fields§
§component_type: CoopMatrixComponentTypeScalar element type.
use_kind: CoopMatrixUseRole of this tile in the GEMM.
rows: u32Number of rows in this tile.
cols: u32Number of columns in this tile.
stride: u32Row stride (number of elements between the start of successive rows in the source storage buffer).
Trait Implementations§
Source§impl Clone for CoopMatrixDescriptor
impl Clone for CoopMatrixDescriptor
Source§fn clone(&self) -> CoopMatrixDescriptor
fn clone(&self) -> CoopMatrixDescriptor
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 CoopMatrixDescriptor
impl RefUnwindSafe for CoopMatrixDescriptor
impl Send for CoopMatrixDescriptor
impl Sync for CoopMatrixDescriptor
impl Unpin for CoopMatrixDescriptor
impl UnsafeUnpin for CoopMatrixDescriptor
impl UnwindSafe for CoopMatrixDescriptor
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