tilelang.intrinsics.mma_layoutΒΆ
AttributesΒΆ
FunctionsΒΆ
Module ContentsΒΆ
groupID = %laneid >> 2 threadID_in_group = %laneid % 4
- row = groupID for ai where 0 <= i < 2 || 4 <= i < 6
groupID + 8 Otherwise
col = (threadID_in_group * 2) + (i & 0x1) for ai where i < 4 (threadID_in_group * 2) + (i & 0x1) + 8 for ai where i >= 4
groupID = %laneid >> 2 threadID_in_group = %laneid % 4
- row = (threadID_in_group * 2) + (i & 0x1) for bi where i < 2
(threadID_in_group * 2) + (i & 0x1) + 8 for bi where i >= 2
col = groupID
- tilelang.intrinsics.mma_layout.get_swizzle_layout(row_idx, col_idx, row_size, dtype, swizzle_bytes=None)ΒΆ
- Parameters:
dtype (tvm.DataType | str)