pub enum CutlassMsg {
Gemm(Box<dyn CutlassGemmDispatch>),
Conv(Box<dyn CutlassConvDispatch>),
Refit {
msg: RefitMsg,
reply: Box<dyn FnOnce(Result<(), String>) + Send + 'static>,
},
}Expand description
Top-level actor mailbox.
Refit carries new weight bytes for an already-compiled plan;
the actor copies them into the kernel’s bound workspace without
recompiling. reply is an opaque sender that downstream code
can pick — we don’t depend on tokio::sync::oneshot here so that
host-only callers can use a std::sync::mpsc reply channel
instead.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CutlassMsg
impl !RefUnwindSafe for CutlassMsg
impl Send for CutlassMsg
impl !Sync for CutlassMsg
impl Unpin for CutlassMsg
impl UnsafeUnpin for CutlassMsg
impl !UnwindSafe for CutlassMsg
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