IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Mojo struct

CDNA4F8F6F4MatrixFormat

struct CDNA4F8F6F4MatrixFormat

Represents the CDNA4 f8f6f4 operand format selector.

Implemented traits​

AnyType, Copyable, Equatable, ImplicitlyCopyable, ImplicitlyDeletable, Movable, RegisterPassable, TrivialRegisterPassable

comptime members​

FLOAT4_E2M1​

comptime FLOAT4_E2M1 = CDNA4F8F6F4MatrixFormat(4)

FLOAT6_E2M3​

comptime FLOAT6_E2M3 = CDNA4F8F6F4MatrixFormat(2)

FLOAT6_E3M2​

comptime FLOAT6_E3M2 = CDNA4F8F6F4MatrixFormat(3)

FLOAT8_E4M3​

comptime FLOAT8_E4M3 = CDNA4F8F6F4MatrixFormat(0)

FLOAT8_E5M2​

comptime FLOAT8_E5M2 = CDNA4F8F6F4MatrixFormat(1)

Methods​

__init__​

def __init__(value: Int) -> Self

__eq__​

def __eq__(self, other: Self) -> Bool

Returns:

Bool

simd_width​

def simd_width(self) -> SIMDSize

Returns:

SIMDSize