pub enum ChunkStrategy {
}
Expand description
Chunking strategy for parallel operations
Variants§
Fixed(usize)
Fixed chunk size
Adaptive
Adaptive chunk size based on data size and CPU count
CacheOptimized
Chunk size optimized for CPU cache lines
MemoryOptimized
Chunk size optimized for memory bandwidth
Dynamic
Dynamic chunk size that adjusts during execution
WorkStealingBalanced
Work-stealing with balanced load distribution
NumaAware
NUMA-aware chunking for multi-socket systems
LinearAlgebra
Optimized for dense linear algebra operations
SparseMatrix
Optimized for sparse matrix operations
SignalProcessing
Optimized for FFT and signal processing
ImageProcessing
Optimized for image processing operations
MonteCarlo
Optimized for Monte Carlo simulations
IterativeSolver
Optimized for iterative solvers
GpuAware
GPU-aware chunking for hybrid CPU/GPU workloads
Custom(fn(usize, usize) -> usize)
Custom chunking with user-defined function
Trait Implementations§
Source§impl Clone for ChunkStrategy
impl Clone for ChunkStrategy
Source§fn clone(&self) -> ChunkStrategy
fn clone(&self) -> ChunkStrategy
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 moreSource§impl Debug for ChunkStrategy
impl Debug for ChunkStrategy
Source§impl PartialEq for ChunkStrategy
impl PartialEq for ChunkStrategy
impl Copy for ChunkStrategy
impl Eq for ChunkStrategy
impl StructuralPartialEq for ChunkStrategy
Auto Trait Implementations§
impl Freeze for ChunkStrategy
impl RefUnwindSafe for ChunkStrategy
impl Send for ChunkStrategy
impl Sync for ChunkStrategy
impl Unpin for ChunkStrategy
impl UnwindSafe for ChunkStrategy
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