pub struct MatmulFeatures {
pub cmma: BTreeSet<MmaConfig>,
pub mma: BTreeSet<MmaConfig>,
pub scaled_mma: BTreeSet<ScaledMmaConfig>,
pub ldmatrix: BTreeSet<StorageType>,
pub stmatrix: BTreeSet<StorageType>,
}Expand description
Matrix multiplication-related features
Fields§
§cmma: BTreeSet<MmaConfig>The cmma feature enables cooperative matrix-multiply and accumulate operations.
mma: BTreeSet<MmaConfig>The manual MMA feature enables cooperative matrix-multiply with manually managed data movement
scaled_mma: BTreeSet<ScaledMmaConfig>Scaled MMA allows combining matrix multiplication with unscaling quantized values into a single instruction. Scales must fit a specific layout and block size.
ldmatrix: BTreeSet<StorageType>Types supported for ldmatrix, if any
stmatrix: BTreeSet<StorageType>Types supported by stmatrix, if any
Trait Implementations§
Source§impl Clone for MatmulFeatures
impl Clone for MatmulFeatures
Source§fn clone(&self) -> MatmulFeatures
fn clone(&self) -> MatmulFeatures
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 MatmulFeatures
impl Debug for MatmulFeatures
Source§impl Default for MatmulFeatures
impl Default for MatmulFeatures
Source§fn default() -> MatmulFeatures
fn default() -> MatmulFeatures
Returns the “default value” for a type. Read more
Source§impl Hash for MatmulFeatures
impl Hash for MatmulFeatures
Source§impl PartialEq for MatmulFeatures
impl PartialEq for MatmulFeatures
impl Eq for MatmulFeatures
impl StructuralPartialEq for MatmulFeatures
Auto Trait Implementations§
impl Freeze for MatmulFeatures
impl RefUnwindSafe for MatmulFeatures
impl Send for MatmulFeatures
impl Sync for MatmulFeatures
impl Unpin for MatmulFeatures
impl UnsafeUnpin for MatmulFeatures
impl UnwindSafe for MatmulFeatures
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.