Skip to content

Commit 6442288

Browse files
fixing formatting
Signed-off-by: Muzammiluddin Syed <[email protected]>
1 parent 55f442e commit 6442288

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mlir/lib/Dialect/GPU/Transforms/SubgroupReduceLowering.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ createSubgroupDPPReduction(PatternRewriter &rewriter, gpu::SubgroupReduceOp &op,
425425
} else if (chipset.majorVersion <= 12) {
426426
// Use a permute lane to cross rows (row 1 <-> row 0, row 3 <-> row 2).
427427
Value uint32Max = rewriter.create<arith::ConstantOp>(
428-
loc, rewriter.getI32Type(), rewriter.getI32IntegerAttr(-1));
428+
loc, rewriter.getI32Type(), rewriter.getI32IntegerAttr(-1));
429429
dpp = rewriter.create<ROCDL::PermlaneX16Op>(loc, res.getType(), res, res,
430430
uint32Max, uint32Max,
431431
/*fi=*/true,
@@ -440,8 +440,8 @@ createSubgroupDPPReduction(PatternRewriter &rewriter, gpu::SubgroupReduceOp &op,
440440
}
441441
} else {
442442
return rewriter.notifyMatchFailure(
443-
op, "Subgroup reduce lowering to DPP not currently supported for "
444-
"this device.");
443+
op, "Subgroup reduce lowering to DPP not currently supported for "
444+
"this device.");
445445
}
446446
}
447447
if (ci.clusterSize >= 64) {
@@ -465,8 +465,8 @@ createSubgroupDPPReduction(PatternRewriter &rewriter, gpu::SubgroupReduceOp &op,
465465
res = rewriter.create<ROCDL::ReadlaneOp>(loc, res.getType(), res, lane0);
466466
} else {
467467
return rewriter.notifyMatchFailure(
468-
op, "Subgroup reduce lowering to DPP not currently supported for "
469-
"this device.");
468+
op, "Subgroup reduce lowering to DPP not currently supported for "
469+
"this device.");
470470
}
471471
res = vector::makeArithReduction(rewriter, loc,
472472
gpu::convertReductionKind(mode), res, dpp);

0 commit comments

Comments
 (0)