pub struct Layout {
pub h: usize,
pub w: usize,
pub th: usize,
pub tw: usize,
pub ntx: usize,
pub nt: usize,
pub lanes: usize,
pub s: usize,
pub steps: usize,
}Expand description
Wavefront layout of one grid: tiles of th × tw, lanes lanes per tile.
Fields§
§h: usizeGrid height, width.
w: usizeWidth.
th: usizeTile height, width.
tw: usizeTile width.
ntx: usizeTile columns.
nt: usizeTiles.
lanes: usizeLanes per tile (≤ th); tile j uses global lanes j·lanes ...
s: usizeSlope.
steps: usizeWavefront steps per tile.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
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