Skip to content

Commit 9ed0f87

Browse files
committed
fix format issue
1 parent 930f1ab commit 9ed0f87

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ LayoutAttr::verify(llvm::function_ref<mlir::InFlightDiagnostic()> emitError,
9494
if (!sg_layout)
9595
return emitError() << "expected sg_layout being used with sg_data";
9696
if (sg_data.size() != sg_layout.size())
97-
return emitError() << "expected sg_data having the same rank as sg_layout";
97+
return emitError()
98+
<< "expected sg_data having the same rank as sg_layout";
9899
}
99100

100101
// inst_data is optional for Subgroup layout, but its presence requires
@@ -297,8 +298,8 @@ LogicalResult TensorDescType::verify(
297298
uint32_t numElemPerWi = laneLayout[i] * laneData[i];
298299
if (tensorShape[i] < numElemPerWi || tensorShape[i] % numElemPerWi != 0)
299300
return emitError() << "cannot distribute " << tensorShape[i] << " over "
300-
<< laneLayout[i] << " work items with " << laneData[i]
301-
<< " elements each";
301+
<< laneLayout[i] << " work items with "
302+
<< laneData[i] << " elements each";
302303
}
303304
}
304305

0 commit comments

Comments
 (0)