IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /docs/manual/basics.md). For the complete Mojo documentation index, see llms.txt.
Skip to main content
Version: 1.0.0b1
For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).

tile_sf_layout_k_major

tile_sf_layout_k_major[BM: Int, BK: Int, SF_SCALE_SIZE: Int]() -> Layout

Creates a K-major layout for tensor core scale factors.

Constructs a layout for K-major access patterns for scale factors.

Parameters:

  • BM (Int): Size of the M dimension in the tile.
  • BK (Int): Size of the K dimension in the tile.
  • SF_SCALE_SIZE (Int): Number of elements in a scale factor vector.

Returns:

Layout: Layout - A K-major layout configured for the specified dimensions and scale factor size.