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 function

get_matmul_arch_factor

def get_matmul_arch_factor[use_vnni: Bool, use_i8mm: Bool]() -> Int

Returns the architecture-dependent alignment factor for matmul tiling.

Parameters:

  • use_vnni (Bool): Whether VNNI is available on the target.
  • use_i8mm (Bool): Whether the i8mm instruction is available on the target.

Returns:

Int

Was this page helpful?