pub enum BlasLtMsg {
Matmul(Box<dyn BlasLtDispatch>),
MatmulF32 {
cfg: MatmulConfig,
a: GpuRef<f32>,
b: GpuRef<f32>,
c: GpuRef<f32>,
bias: Option<GpuRef<f32>>,
activation: Option<Activation>,
reply: Sender<Result<(), GpuError>>,
},
}Expand description
Public message surface.
Variants§
Matmul(Box<dyn BlasLtDispatch>)
Generic matmul over any dtype that implements
crate::dtype::GemmSupported. Boxed-erased so BlasLtActor
has a single mailbox type.
MatmulF32
👎Deprecated since 0.2.0: use BlasLtMsg::Matmul(Box::new(MatmulRequest::<f32> { … }))
Legacy f32-only constructor preserved for back-compat.
New callers should use BlasLtMsg::matmul /
BlasLtMsg::Matmul with a typed MatmulRequest<f32>.
Fields
§
cfg: MatmulConfig👎Deprecated since 0.2.0: use BlasLtMsg::Matmul(Box::new(MatmulRequest::<f32> { … }))
§
bias: Option<GpuRef<f32>>👎Deprecated since 0.2.0: use BlasLtMsg::Matmul(Box::new(MatmulRequest::<f32> { … }))
§
activation: Option<Activation>👎Deprecated since 0.2.0: use BlasLtMsg::Matmul(Box::new(MatmulRequest::<f32> { … }))
Implementations§
Auto Trait Implementations§
impl Freeze for BlasLtMsg
impl !RefUnwindSafe for BlasLtMsg
impl Send for BlasLtMsg
impl !Sync for BlasLtMsg
impl Unpin for BlasLtMsg
impl UnsafeUnpin for BlasLtMsg
impl !UnwindSafe for BlasLtMsg
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