pub struct AutoDispatchConfig {
pub gpu_threshold: usize,
pub inverse: bool,
}Expand description
Configuration for the auto-dispatch FFT layer.
Distinct from GpuFftConfig which configures the underlying pipeline.
Fields§
§gpu_threshold: usizeMinimum input length (in complex samples) before the dispatch layer considers routing to a GPU back-end. Inputs shorter than this are always executed on the CPU regardless of available hardware.
Default: 4096.
inverse: boolPerform an inverse FFT instead of the default forward FFT.
Default: false.
Trait Implementations§
Source§impl Clone for AutoDispatchConfig
impl Clone for AutoDispatchConfig
Source§fn clone(&self) -> AutoDispatchConfig
fn clone(&self) -> AutoDispatchConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AutoDispatchConfig
impl Debug for AutoDispatchConfig
Auto Trait Implementations§
impl Freeze for AutoDispatchConfig
impl RefUnwindSafe for AutoDispatchConfig
impl Send for AutoDispatchConfig
impl Sync for AutoDispatchConfig
impl Unpin for AutoDispatchConfig
impl UnsafeUnpin for AutoDispatchConfig
impl UnwindSafe for AutoDispatchConfig
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