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 cc3f0f3 commit 45f1dbbCopy full SHA for 45f1dbb
lib/Dialect/Triton/IR/Ops.cpp
@@ -529,6 +529,7 @@ struct CanonicalizeReshapeReduceOpPattern final : OpRewritePattern<ReduceOp> {
529
reshapes.begin(),
530
[loc = reduceOp.getLoc(), &rewriter](auto pair) -> Value {
531
auto &[value, resultType] = pair;
532
+ // Set allow_reorder to support different tensor layouts.
533
return rewriter.create<ReshapeOp>(loc, resultType, value,
534
/*allow_reorder=*/true);
535
});
0 commit comments