pub enum FftMsg {
Exec(Box<dyn FftDispatch>),
Forward1dR2C {
n: i32,
batch: i32,
src: GpuRef<f32>,
dst: GpuRef<float2>,
reply: Sender<Result<(), GpuError>>,
},
Inverse1dC2R {
n: i32,
batch: i32,
src: GpuRef<float2>,
dst: GpuRef<f32>,
reply: Sender<Result<(), GpuError>>,
},
Exec1dC2C {
n: i32,
batch: i32,
direction: FftDirection,
src: GpuRef<float2>,
dst: GpuRef<float2>,
reply: Sender<Result<(), GpuError>>,
},
Forward2dR2C {
nx: i32,
ny: i32,
src: GpuRef<f32>,
dst: GpuRef<float2>,
reply: Sender<Result<(), GpuError>>,
},
}Variants§
Exec(Box<dyn FftDispatch>)
Generic typed FFT — the canonical Phase-1 entry point.
Forward1dR2C
👎Deprecated: use FftMsg::Exec with FftRequest<f32> { kind: R2C, .. }
1D real → complex forward transform (f32 → complex32).
Fields
Inverse1dC2R
👎Deprecated: use FftMsg::Exec with FftRequest<f32> { kind: C2R, .. }
1D complex → real inverse transform (complex32 → f32). Caller is responsible for 1/N normalization.
Fields
Exec1dC2C
👎Deprecated: use FftMsg::Exec with FftRequest<f32> { kind: C2C, .. }
1D complex ↔ complex transform.
Fields
§
direction: FftDirection👎Deprecated: use FftMsg::Exec with FftRequest<f32> { kind: C2C, .. }
Forward2dR2C
👎Deprecated: use FftMsg::Exec with FftRequest<f32> { kind: R2C, rank=2, .. }
2D R2C transform.
Fields
Auto Trait Implementations§
impl Freeze for FftMsg
impl !RefUnwindSafe for FftMsg
impl Send for FftMsg
impl !Sync for FftMsg
impl Unpin for FftMsg
impl UnsafeUnpin for FftMsg
impl !UnwindSafe for FftMsg
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