pub struct AdvancedFftPlanner { /* private fields */ }
Expand description
Planner for FFT operations that combines caching, serialization and auto-tuning
Implementations§
Source§impl AdvancedFftPlanner
Advanced FFT planner for managing plans
impl AdvancedFftPlanner
Advanced FFT planner for managing plans
Sourcepub fn with_config(config: PlanningConfig) -> Self
pub fn with_config(config: PlanningConfig) -> Self
Create a new FftPlanner with custom configuration
Sourcepub fn clear_cache(&self)
pub fn clear_cache(&self)
Clear the plan cache
Sourcepub fn plan_fft(
&mut self,
shape: &[usize],
forward: bool,
backend: PlannerBackend,
) -> FFTResult<Arc<FftPlan>>
pub fn plan_fft( &mut self, shape: &[usize], forward: bool, backend: PlannerBackend, ) -> FFTResult<Arc<FftPlan>>
Get or create a plan for the given shape and direction
Sourcepub fn plan_fft_1d<S, D>(
&mut self,
arr: &ArrayBase<S, D>,
forward: bool,
) -> FFTResult<Arc<FftPlan>>
pub fn plan_fft_1d<S, D>( &mut self, arr: &ArrayBase<S, D>, forward: bool, ) -> FFTResult<Arc<FftPlan>>
Plan a 1D FFT
Sourcepub fn plan_fft_2d<S, D>(
&mut self,
arr: &ArrayBase<S, D>,
forward: bool,
) -> FFTResult<Arc<FftPlan>>
pub fn plan_fft_2d<S, D>( &mut self, arr: &ArrayBase<S, D>, forward: bool, ) -> FFTResult<Arc<FftPlan>>
Plan a 2D FFT
Sourcepub fn plan_fft_nd<S, D>(
&mut self,
arr: &ArrayBase<S, D>,
forward: bool,
) -> FFTResult<Arc<FftPlan>>
pub fn plan_fft_nd<S, D>( &mut self, arr: &ArrayBase<S, D>, forward: bool, ) -> FFTResult<Arc<FftPlan>>
Plan an N-dimensional FFT
Sourcepub fn precompute_commonsizes(&mut self, sizes: &[&[usize]]) -> FFTResult<()>
pub fn precompute_commonsizes(&mut self, sizes: &[&[usize]]) -> FFTResult<()>
Pre-compute plans for common sizes
Sourcepub fn save_plans(&self) -> FFTResult<()>
pub fn save_plans(&self) -> FFTResult<()>
Save all plans to disk
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdvancedFftPlanner
impl !RefUnwindSafe for AdvancedFftPlanner
impl Send for AdvancedFftPlanner
impl Sync for AdvancedFftPlanner
impl Unpin for AdvancedFftPlanner
impl !UnwindSafe for AdvancedFftPlanner
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