Skip to content

Commit 4dfbe7c

Browse files
committed
add comment
1 parent 6a0db88 commit 4dfbe7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ static bool requireTranspose(const xegpu::LayoutAttr layout,
175175
return laneLayout[0] == uArch->getSubgroupSize() && laneLayout[1] == 1;
176176
}
177177

178+
/// Given a sequential and distributed vector type, return the list of
179+
/// dimensions that are distributed.
178180
static SmallVector<int64_t> getDistributedDims(VectorType sequentialType,
179181
VectorType distributedType) {
180182
assert(sequentialType.getRank() == distributedType.getRank() &&

0 commit comments

Comments
 (0)