Enum MatmulAvailabilityError

Source
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.

Fields

§plane_dim: u32
§

TypesUnavailable

The required data types for input or output are not supported.

Fields

§input: Elem
§output: Elem
§

CmmaInstructionUnavailable

The required CMMA instruction is not supported for the given element types and tile size.

Fields

§input: Elem
§output: Elem
§

BarrierUnavailable

Barrier synchronization is not available in the runtime.

§

TmaUnavailable

TMA (Tensor Memory Access) is not available in the runtime.

§

DynamicLineSizeUnavailable

Dynamic selection of line size is unsupported in the current runtime.

Trait Implementations§

Source§

impl Debug for MatmulAvailabilityError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<MatmulAvailabilityError> for MatmulSetupError

Source§

fn from(value: MatmulAvailabilityError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V