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,
ImplicitlyDestructible,
Movable,
RegisterPassable,
TrivialRegisterPassable,
TuningConfig,
Writable
Methodsβ
__init__β
__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β
write_to(self, mut writer: T)
Writes the tuning config as a string.
Args:
- βwriter (
T): The writer to write to.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!