Skip to main content

Mojo function

swapAB_smallM_ceildiv

swapAB_smallM_ceildiv[a_type: DType, b_type: DType, c_type: DType, transpose_b: Bool = True](m: Scalar[DType.uint], pdl_level: PDLLevel) -> MatmulConfig[a_type, b_type, c_type, transpose_b]

Config for m < 41 range with BN = ceildiv(m, 8) * 8 pattern.

Pattern: - BN = ceildiv(m, 8) * 8 (rounds up to next multiple of 8) - stages = 12, cluster = (1,1,1), swapAB = True

Returns:

MatmulConfig

Was this page helpful?