pub struct FragmentShape {
pub m: usize,
pub n: usize,
pub k: usize,
}Expand description
Fragment shape for WMMA operations. Maps to hardware-supported shapes like 16×16×16, 8×32×16, etc.
Fields§
§m: usize§n: usize§k: usizeImplementations§
Trait Implementations§
Source§impl Clone for FragmentShape
impl Clone for FragmentShape
Source§fn clone(&self) -> FragmentShape
fn clone(&self) -> FragmentShape
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 FragmentShape
Source§impl Debug for FragmentShape
impl Debug for FragmentShape
Source§impl PartialEq for FragmentShape
impl PartialEq for FragmentShape
Source§fn eq(&self, other: &FragmentShape) -> bool
fn eq(&self, other: &FragmentShape) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FragmentShape
Auto Trait Implementations§
impl Freeze for FragmentShape
impl RefUnwindSafe for FragmentShape
impl Send for FragmentShape
impl Sync for FragmentShape
impl Unpin for FragmentShape
impl UnsafeUnpin for FragmentShape
impl UnwindSafe for FragmentShape
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