We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f9e602 commit 2a3f62cCopy full SHA for 2a3f62c
mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp
@@ -433,7 +433,7 @@ LogicalResult GPUShuffleConversion::matchAndRewrite(
433
// The width argument specifies the number of lanes that participate in the
434
// shuffle. The width value should not exceed the subgroup limit.
435
if (!matchPattern(shuffleOp.getWidth(), m_Constant(&widthAttr)) ||
436
- widthAttr.getValue().getZExtValue() <= subgroupSize)
+ widthAttr.getValue().getZExtValue() > subgroupSize)
437
return rewriter.notifyMatchFailure(
438
shuffleOp, "shuffle width is larger than target subgroup size");
439
0 commit comments