pub enum MatmulAvailabilityError {
CubeCountTooBig(CubeCount),
CubeDimTooBig(CubeDim),
PlaneDimUnsupported {
plane_dim: u32,
},
TypesUnavailable {
input: Elem,
output: Elem,
},
CmmaInstructionUnavailable {
input: Elem,
output: Elem,
size: Option<TileSize>,
},
BarrierUnavailable,
TmaUnavailable,
DynamicLineSizeUnavailable,
}
Expand description
A specific feature required for matmul is not available in the current runtime or hardware.
Variants§
CubeCountTooBig(CubeCount)
The requested cube count exceeds what the runtime or hardware supports.
CubeDimTooBig(CubeDim)
The requested cube dimensions are too large for the current runtime or hardware.
PlaneDimUnsupported
The requested plane dimension is not supported.
The required data types for input or output are not supported.
The required CMMA instruction is not supported for the given element types and tile size.
Barrier synchronization is not available in the runtime.
TMA (Tensor Memory Access) is not available in the runtime.
Dynamic selection of line size is unsupported in the current runtime.
Trait Implementations§
Source§impl Debug for MatmulAvailabilityError
impl Debug for MatmulAvailabilityError
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 MatmulAvailabilityError
impl RefUnwindSafe for MatmulAvailabilityError
impl Send for MatmulAvailabilityError
impl Sync for MatmulAvailabilityError
impl Unpin for MatmulAvailabilityError
impl UnwindSafe for MatmulAvailabilityError
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