IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /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. /get-started.md).

Mojo function

block_scaled_operands_compatible

def block_scaled_operands_compatible[a_type: DType, b_type: DType]() -> Bool

Reports whether A and B may be fed to one block-scaled UMMA.

Every kind but kind::mxf8f6f4 requires both operands in the same format; that one encodes the two formats independently, so it also admits the W4A8 pair -- in either slot, since AB_swapped hands the weights to A.

Returns:

Bool