Skip to main content

Mojo function

swapAB_midM_linear

swapAB_midM_linear[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 in [65, 128] range with linear BN pattern.

Pattern: - BN = 40 + ((m - 65) // 16) * 8 - stages = 8, cluster = (1,1,1), swapAB = True

Returns:

MatmulConfig

Was this page helpful?