pub struct FftPlanMany {
pub rank: u32,
pub dims: [i32; 3],
pub in_embed: Option<[i32; 3]>,
pub in_stride: i32,
pub in_dist: i32,
pub out_embed: Option<[i32; 3]>,
pub out_stride: i32,
pub out_dist: i32,
pub kind: FftKind,
pub batch: i32,
}Expand description
Builder for advanced batched plans. Mirrors cufftPlanMany’s
argument list: arbitrary rank (1, 2, or 3), per-dim sizes,
optional in/out embed dims with strides and per-batch distances.
Use [FftPlanMany::build] (resolves through the LRU cache) or
FftActor::ensure_plan to materialize an FftPlan.
Fields§
§rank: u32§dims: [i32; 3]§in_embed: Option<[i32; 3]>§in_stride: i32§in_dist: i32§out_embed: Option<[i32; 3]>§out_stride: i32§out_dist: i32§kind: FftKind§batch: i32Implementations§
Source§impl FftPlanMany
impl FftPlanMany
Sourcepub fn layout_seed(&self) -> u64
pub fn layout_seed(&self) -> u64
Hash the embed/stride/dist tuples into a 64-bit seed used as
the PlanKey::many_layout discriminator.
Trait Implementations§
Source§impl Clone for FftPlanMany
impl Clone for FftPlanMany
Source§fn clone(&self) -> FftPlanMany
fn clone(&self) -> FftPlanMany
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FftPlanMany
impl RefUnwindSafe for FftPlanMany
impl Send for FftPlanMany
impl Sync for FftPlanMany
impl Unpin for FftPlanMany
impl UnsafeUnpin for FftPlanMany
impl UnwindSafe for FftPlanMany
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