Mojo struct
CDNA4F8F6F4MatrixFormat
struct CDNA4F8F6F4MatrixFormat
Represents the CDNA4 f8f6f4 operand format selector.
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDestructible,
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__β
__init__(value: Int) -> Self
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!