pub struct FftDispatchCtx<'a> {
pub stream: &'a Arc<CudaStream>,
pub completion: &'a Arc<dyn CompletionStrategy>,
pub plan: Arc<dyn Any + Send + Sync>,
}Expand description
Per-execution context bundle handed to every FftDispatch::dispatch.
The actor packs its current stream + completion strategy + plan handle
(already resolved against the LRU cache) so dispatch impls stay lean.
Fields§
§stream: &'a Arc<CudaStream>§completion: &'a Arc<dyn CompletionStrategy>§plan: Arc<dyn Any + Send + Sync>Already-resolved cuFFT plan (Arc<CudaFft>). Type-erased to
dyn Any to keep this trait import-light; the actor downcasts
inside kernel::fft.
Auto Trait Implementations§
impl<'a> Freeze for FftDispatchCtx<'a>
impl<'a> !RefUnwindSafe for FftDispatchCtx<'a>
impl<'a> Send for FftDispatchCtx<'a>
impl<'a> Sync for FftDispatchCtx<'a>
impl<'a> Unpin for FftDispatchCtx<'a>
impl<'a> UnsafeUnpin for FftDispatchCtx<'a>
impl<'a> !UnwindSafe for FftDispatchCtx<'a>
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