Trait clfft::FftPlan
[−]
[src]
pub trait FftPlan { fn precision(&self) -> Precision; fn dims(&self) -> SpatialDims; fn input_layout(&self) -> Layout; fn output_layout(&self) -> Layout; fn forward_scale(&self) -> f32; fn backward_scale(&self) -> f32; fn batch_size(&self) -> usize; fn result_location(&self) -> Location; }
Getters for a FFT plan.
Required Methods
fn precision(&self) -> Precision
Gets expected precision of each FFT.
fn dims(&self) -> SpatialDims
Gets the FFT dimensions.
fn input_layout(&self) -> Layout
the expected layouts of the input buffers.
fn output_layout(&self) -> Layout
the expected layouts of the output buffers.
fn forward_scale(&self) -> f32
Gets the scaling factors for FFTs.
fn backward_scale(&self) -> f32
Gets the scaling factors for IFFTs.
fn batch_size(&self) -> usize
Gets the patch size.
fn result_location(&self) -> Location
Gets whether the input buffers are overwritten with results.
Implementors
impl<T: AsClFftPlanHandle> FftPlan for T