pub struct Fragment {
pub data: Vec<f32>,
pub rows: usize,
pub cols: usize,
}Expand description
Matrix fragment — a tile of a matrix stored in registers. On GPU, these map to warp-distributed register fragments.
Fields§
§data: Vec<f32>Data stored as f32 (accumulator format).
rows: usizeNumber of rows.
cols: usizeNumber of columns.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fragment
impl RefUnwindSafe for Fragment
impl Send for Fragment
impl Sync for Fragment
impl Unpin for Fragment
impl UnsafeUnpin for Fragment
impl UnwindSafe for Fragment
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