pub enum ThreadPoolProfile {
Show 13 variants
CpuIntensive,
MemoryBound,
Balanced,
LowLatency,
HighThroughput,
LinearAlgebra,
MatrixMultiplication,
EigenComputation,
Decomposition,
IterativeSolver,
NumaOptimized,
HybridComputing,
Custom(String),
}
Expand description
Thread pool profile for different types of workloads
Variants§
CpuIntensive
Optimized for CPU-intensive computations
MemoryBound
Optimized for memory-bound operations
Balanced
Balanced profile for mixed workloads
LowLatency
Low-latency profile for quick operations
HighThroughput
High-throughput profile for bulk operations
LinearAlgebra
Linear algebra specific optimizations
MatrixMultiplication
Matrix multiplication optimized
EigenComputation
Eigenvalue computation optimized
Decomposition
Decomposition algorithms optimized
IterativeSolver
Iterative solver optimized
NumaOptimized
NUMA-aware parallel processing
HybridComputing
GPU-CPU hybrid processing
Custom(String)
Custom profile with specific parameters
Trait Implementations§
Source§impl Clone for ThreadPoolProfile
impl Clone for ThreadPoolProfile
Source§fn clone(&self) -> ThreadPoolProfile
fn clone(&self) -> ThreadPoolProfile
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 ThreadPoolProfile
impl Debug for ThreadPoolProfile
Source§impl Hash for ThreadPoolProfile
impl Hash for ThreadPoolProfile
Source§impl PartialEq for ThreadPoolProfile
impl PartialEq for ThreadPoolProfile
impl Eq for ThreadPoolProfile
impl StructuralPartialEq for ThreadPoolProfile
Auto Trait Implementations§
impl Freeze for ThreadPoolProfile
impl RefUnwindSafe for ThreadPoolProfile
impl Send for ThreadPoolProfile
impl Sync for ThreadPoolProfile
impl Unpin for ThreadPoolProfile
impl UnwindSafe for ThreadPoolProfile
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