pub enum CudnnMsg {
Op(Box<dyn CudnnDispatch>),
ConvForward(Box<ConvForwardRequest>),
Activation(Box<ActivationRequest>),
Softmax(Box<SoftmaxRequest>),
}Expand description
Mailbox message for CudnnActor.
Modern callers send CudnnMsg::Op(Box<dyn CudnnDispatch>) with a
typed request struct (e.g. ConvFwdRequest<f16>). The legacy
ConvForward / Activation / Softmax variants are retained for
back-compat and are slated for removal once downstream users
migrate.
Variants§
Op(Box<dyn CudnnDispatch>)
Generic typed cuDNN op (canonical form). The boxed trait object
carries dtype + op kind for telemetry and dispatches via
CudnnDispatch::dispatch.
ConvForward(Box<ConvForwardRequest>)
👎Deprecated: use CudnnMsg::Op with ConvFwdRequest<f32>
Deprecated — use CudnnMsg::Op with ConvFwdRequest<f32>.
Activation(Box<ActivationRequest>)
👎Deprecated: use CudnnMsg::Op with ActivationFwdRequest<f32>
Deprecated — use CudnnMsg::Op with ActivationFwdRequest<f32>.
Softmax(Box<SoftmaxRequest>)
👎Deprecated: use CudnnMsg::Op with SoftmaxFwdRequest<f32>
Deprecated — use CudnnMsg::Op with SoftmaxFwdRequest<f32>.
Auto Trait Implementations§
impl Freeze for CudnnMsg
impl !RefUnwindSafe for CudnnMsg
impl Send for CudnnMsg
impl !Sync for CudnnMsg
impl Unpin for CudnnMsg
impl UnsafeUnpin for CudnnMsg
impl !UnwindSafe for CudnnMsg
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