Skip to content

Commit 03f4fd3

Browse files
committed
Fix a typo
1 parent e507363 commit 03f4fd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ FailureOr<VectorType> TensorDescType::getDistributedVectorType() {
349349
// compute sgSize by multiply elements of laneLayout
350350
// e.g. for 2D layout, sgSize = laneLayout[0] * laneLayout[1]
351351
// e.g. for 1D layout, sgSize = laneLayout[0]
352-
auto sgSize = std::accumulate(laneData.begin(), laneData.end(), 1,
352+
auto sgSize = std::accumulate(laneLayout.begin(), laneLayout.end(), 1,
353353
std::multiplies<int64_t>());
354354

355355
// Case 1: regular loads/stores

0 commit comments

Comments
 (0)