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

TuningConfigSM90

struct TuningConfigSM90

Fields​

  • ​M (Int):
  • ​N (Int):
  • ​K (Int):
  • ​mma_shape (IndexList[3]):
  • ​block_tile_shape (IndexList[3]):
  • ​num_pipeline_stages (Int):
  • ​cluster_shape (IndexList[3]):
  • ​num_consumer (Int):
  • ​partitioned_multicast (Bool):
  • ​grid_shape (OptionalReg[IndexList[2]]):
  • ​schedule (MatmulSchedule):
  • ​splits (OptionalReg[Int]):
  • ​raster_order (OptionalReg[RasterOrder]):

Implemented traits​

AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDeletable, Movable, RegisterPassable, TrivialRegisterPassable, TuningConfig, Writable

Methods​

__init__​

def __init__(M: Int, N: Int, K: Int, mma_shape: IndexList[3], block_tile_shape: IndexList[3], num_pipeline_stages: Int, cluster_shape: IndexList[3], num_consumer: Int, partitioned_multicast: Bool, grid_shape: OptionalReg[IndexList[2]] = None, schedule: MatmulSchedule = MatmulSchedule.NONE, splits: OptionalReg[Int] = None, raster_order: OptionalReg[RasterOrder] = None) -> Self

write_to​

def write_to(self, mut writer: T)

Writes the tuning config as a string.

Args:

  • ​writer (T): The writer to write to.