Skip to content

Commit 2a3f62c

Browse files
committed
fix typo
1 parent 4f9e602 commit 2a3f62c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ LogicalResult GPUShuffleConversion::matchAndRewrite(
433433
// The width argument specifies the number of lanes that participate in the
434434
// shuffle. The width value should not exceed the subgroup limit.
435435
if (!matchPattern(shuffleOp.getWidth(), m_Constant(&widthAttr)) ||
436-
widthAttr.getValue().getZExtValue() <= subgroupSize)
436+
widthAttr.getValue().getZExtValue() > subgroupSize)
437437
return rewriter.notifyMatchFailure(
438438
shuffleOp, "shuffle width is larger than target subgroup size");
439439

0 commit comments

Comments
 (0)