pub struct ReduceConfig {
pub cube_count: CubeCount,
pub cube_dim: CubeDim,
pub line_mode: LineMode,
pub line_size_input: u32,
pub line_size_output: u32,
pub bound_checks: bool,
pub bound_checks_inner: BoundChecksInner,
}
Fields§
§cube_count: CubeCount
§cube_dim: CubeDim
§line_mode: LineMode
§line_size_input: u32
§line_size_output: u32
§bound_checks: bool
§bound_checks_inner: BoundChecksInner
Implementations§
Source§impl ReduceConfig
impl ReduceConfig
pub fn generate_cube_dim<S: ComputeServer, C: ComputeChannel<S>>( self, client: &ComputeClient<S, C>, use_planes: bool, ) -> Self
pub fn generate_cube_count<R: Runtime>( self, reduce_count: u32, strategy: &ReduceStrategy, ) -> Self
Trait Implementations§
Source§impl Clone for ReduceConfig
impl Clone for ReduceConfig
Source§fn clone(&self) -> ReduceConfig
fn clone(&self) -> ReduceConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ReduceConfig
impl RefUnwindSafe for ReduceConfig
impl Send for ReduceConfig
impl Sync for ReduceConfig
impl Unpin for ReduceConfig
impl UnwindSafe for ReduceConfig
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