pub struct WorkspaceReq {
pub a_bytes: usize,
pub tile_bytes: usize,
pub worker_scatter: usize,
pub b_bytes: usize,
pub team_scatter: usize,
pub barriers: usize,
}Expand description
Bytes and counts one execute needs. Buffer sizes are bytes because the provider is element-type erased: the driver knows the element type and converts its real counts once.
A zero entry never allocates.
Fields§
§a_bytes: usizeThis thread’s packed A block.
tile_bytes: usizeThis thread’s accumulator tile, including any induced-method scratch.
worker_scatter: usizeElements reserved for this thread’s scatter scratch.
b_bytes: usizeThe team’s shared packed B panel.
team_scatter: usizeElements reserved for the team’s block-scatter vectors.
barriers: usizeBarriers the team needs, or zero when nothing is shared.
Trait Implementations§
Source§impl Clone for WorkspaceReq
impl Clone for WorkspaceReq
impl Copy for WorkspaceReq
Source§impl Debug for WorkspaceReq
impl Debug for WorkspaceReq
Source§impl Default for WorkspaceReq
impl Default for WorkspaceReq
impl Eq for WorkspaceReq
Source§impl PartialEq for WorkspaceReq
impl PartialEq for WorkspaceReq
impl StructuralPartialEq for WorkspaceReq
Auto Trait Implementations§
impl Freeze for WorkspaceReq
impl RefUnwindSafe for WorkspaceReq
impl Send for WorkspaceReq
impl Sync for WorkspaceReq
impl Unpin for WorkspaceReq
impl UnsafeUnpin for WorkspaceReq
impl UnwindSafe for WorkspaceReq
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more