pub struct TuningProfile {
pub num_threads: usize,
pub block_size: usize,
pub chunk_size: usize,
pub use_simd: bool,
pub memory_pool_size: usize,
pub default_tolerance: f64,
pub max_iterations: usize,
pub use_gpu: bool,
}Expand description
Tuning profile for specific problem characteristics
Fields§
§num_threads: usizeOptimal number of threads for parallel algorithms
block_size: usizeBlock size for cache-friendly algorithms
chunk_size: usizeChunk size for parallel work distribution
use_simd: boolWhether to use SIMD optimizations
memory_pool_size: usizeMemory pool size for frequent allocations
default_tolerance: f64Tolerance for iterative algorithms
max_iterations: usizeMaximum iterations for convergence
use_gpu: boolWhether to use GPU acceleration if available
Trait Implementations§
Source§impl Clone for TuningProfile
impl Clone for TuningProfile
Source§fn clone(&self) -> TuningProfile
fn clone(&self) -> TuningProfile
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 TuningProfile
impl RefUnwindSafe for TuningProfile
impl Send for TuningProfile
impl Sync for TuningProfile
impl Unpin for TuningProfile
impl UnwindSafe for TuningProfile
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