pub enum GraphMsg {
Record {
script: Vec<Box<dyn GraphOp>>,
reply: Sender<Result<GraphHandle, GpuError>>,
},
Launch {
handle: GraphHandle,
reply: Sender<Result<(), GpuError>>,
},
SetFftPlan {
plan: CudaFft,
reply: Sender<()>,
},
}Variants§
Record
Record a script of GraphOps into a CUDA Graph.
Launch
Replay a previously-recorded graph.
SetFftPlan
Install / replace the cuFFT plan used for FFT-record ops. Must be called before recording any FFT op.
Auto Trait Implementations§
impl Freeze for GraphMsg
impl !RefUnwindSafe for GraphMsg
impl Send for GraphMsg
impl !Sync for GraphMsg
impl Unpin for GraphMsg
impl UnsafeUnpin for GraphMsg
impl !UnwindSafe for GraphMsg
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