pub struct IntegratedAutoSelector { /* private fields */ }Expand description
Integrated auto-selection that combines algorithm selection with auto-tuning
Implementations§
Source§impl IntegratedAutoSelector
impl IntegratedAutoSelector
Sourcepub fn with_config(
selector_config: SelectionConfig,
tuner_config: AutoTuneConfig,
prefer_learned: bool,
) -> Self
pub fn with_config( selector_config: SelectionConfig, tuner_config: AutoTuneConfig, prefer_learned: bool, ) -> Self
Create with custom configuration
Sourcepub fn select(&self, size: usize, forward: bool) -> FFTResult<SelectionResult>
pub fn select(&self, size: usize, forward: bool) -> FFTResult<SelectionResult>
Select the best algorithm for the given size
Sourcepub fn auto_tune(&mut self, sizes: &[usize]) -> FFTResult<()>
pub fn auto_tune(&mut self, sizes: &[usize]) -> FFTResult<()>
Run auto-tuning for a range of sizes
Sourcepub fn execute<T>(
&self,
input: &[T],
size: Option<usize>,
forward: bool,
) -> FFTResult<Vec<Complex64>>
pub fn execute<T>( &self, input: &[T], size: Option<usize>, forward: bool, ) -> FFTResult<Vec<Complex64>>
Execute FFT with optimal algorithm
Sourcepub fn selector(&self) -> &AlgorithmSelector
pub fn selector(&self) -> &AlgorithmSelector
Get the algorithm selector
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IntegratedAutoSelector
impl RefUnwindSafe for IntegratedAutoSelector
impl Send for IntegratedAutoSelector
impl Sync for IntegratedAutoSelector
impl Unpin for IntegratedAutoSelector
impl UnsafeUnpin for IntegratedAutoSelector
impl UnwindSafe for IntegratedAutoSelector
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> 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