pub enum MatmulSetupError {
Unavailable(MatmulAvailabilityError),
InvalidConfig(InvalidConfigError),
LineSize(LineSizeError),
}
Expand description
Errors that can occur during the setup phase of a matmul operation.
Variants§
A required hardware or runtime feature is not available.
InvalidConfig(InvalidConfigError)
The provided configuration is invalid or rejected by a component.
LineSize(LineSizeError)
No compatible line size could be found for the given constraints.
Trait Implementations§
Source§impl Debug for MatmulSetupError
impl Debug for MatmulSetupError
Source§impl Display for MatmulSetupError
impl Display for MatmulSetupError
Source§impl From<Box<dyn Display>> for MatmulSetupError
impl From<Box<dyn Display>> for MatmulSetupError
Source§fn from(value: InvalidConfigError) -> Self
fn from(value: InvalidConfigError) -> Self
Converts to this type from the input type.
Source§impl From<LineSizeError> for MatmulSetupError
impl From<LineSizeError> for MatmulSetupError
Source§fn from(value: LineSizeError) -> Self
fn from(value: LineSizeError) -> Self
Converts to this type from the input type.
Source§impl From<MatmulAvailabilityError> for MatmulSetupError
impl From<MatmulAvailabilityError> for MatmulSetupError
Source§fn from(value: MatmulAvailabilityError) -> Self
fn from(value: MatmulAvailabilityError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MatmulSetupError
impl !RefUnwindSafe for MatmulSetupError
impl !Send for MatmulSetupError
impl !Sync for MatmulSetupError
impl Unpin for MatmulSetupError
impl !UnwindSafe for MatmulSetupError
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