pub struct ParallelExecutionConfig {
pub enable_parallel: bool,
pub num_threads: usize,
pub parallel_threshold: usize,
pub thread_strategy: ThreadPoolStrategy,
pub enable_work_stealing: bool,
pub chunk_strategy: ChunkStrategy,
pub numa_aware: bool,
pub cpu_affinity: bool,
}Expand description
Parallel Execution Configuration for Multi-Core Optimization
Fields§
§enable_parallel: boolEnable parallel execution
num_threads: usizeNumber of worker threads (0 = auto-detect)
parallel_threshold: usizeMinimum problem size for parallelization
thread_strategy: ThreadPoolStrategyThread pool strategy
enable_work_stealing: boolEnable work-stealing for load balancing
chunk_strategy: ChunkStrategyChunk size strategy for parallel operations
numa_aware: boolEnable NUMA-aware thread placement
cpu_affinity: boolCPU affinity optimization
Trait Implementations§
Source§impl Clone for ParallelExecutionConfig
impl Clone for ParallelExecutionConfig
Source§impl Debug for ParallelExecutionConfig
impl Debug for ParallelExecutionConfig
Auto Trait Implementations§
impl Freeze for ParallelExecutionConfig
impl RefUnwindSafe for ParallelExecutionConfig
impl Send for ParallelExecutionConfig
impl Sync for ParallelExecutionConfig
impl Unpin for ParallelExecutionConfig
impl UnsafeUnpin for ParallelExecutionConfig
impl UnwindSafe for ParallelExecutionConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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