pub struct TiledReducer {
pub tile_size: usize,
}Expand description
Parallel tiled reducer.
Splits the input into tiles of tile_size, performs a local reduction
on each tile in parallel, then reduces the per-tile results serially.
Fields§
§tile_size: usizeNumber of elements per tile (analogous to GPU work-group size).
Implementations§
Trait Implementations§
Source§impl Clone for TiledReducer
impl Clone for TiledReducer
Source§fn clone(&self) -> TiledReducer
fn clone(&self) -> TiledReducer
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 moreAuto Trait Implementations§
impl Freeze for TiledReducer
impl RefUnwindSafe for TiledReducer
impl Send for TiledReducer
impl Sync for TiledReducer
impl Unpin for TiledReducer
impl UnsafeUnpin for TiledReducer
impl UnwindSafe for TiledReducer
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