pub struct OptimizedConfig {
pub optimization_level: OptimizationLevel,
pub threads: Option<usize>,
pub use_simd: bool,
pub vectorized: bool,
pub collect_metrics: bool,
pub max_fft_size: usize,
pub enable_inplace: bool,
pub enable_multithreading: bool,
pub cache_line_size: usize,
pub l1_cache_size: usize,
pub l2_cache_size: usize,
}Expand description
Configuration for optimized FFT
Fields§
§optimization_level: OptimizationLevelOptimization level
threads: Option<usize>Number of threads to use
use_simd: boolWhether to use SIMD operations
vectorized: boolWhether to use vectorized complex arithmetic
collect_metrics: boolWhether to collect performance metrics
max_fft_size: usizeMaximum FFT size to avoid test timeouts
enable_inplace: boolWhether to enable in-place computation where possible
enable_multithreading: boolWhether to use multithreading
cache_line_size: usizeCache line size in bytes
l1_cache_size: usizeL1 cache size in bytes
l2_cache_size: usizeL2 cache size in bytes
Trait Implementations§
Source§impl Clone for OptimizedConfig
impl Clone for OptimizedConfig
Source§fn clone(&self) -> OptimizedConfig
fn clone(&self) -> OptimizedConfig
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 OptimizedConfig
impl Debug for OptimizedConfig
Auto Trait Implementations§
impl Freeze for OptimizedConfig
impl RefUnwindSafe for OptimizedConfig
impl Send for OptimizedConfig
impl Sync for OptimizedConfig
impl Unpin for OptimizedConfig
impl UnwindSafe for OptimizedConfig
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