Skip to content

Commit

Permalink
Correct dims for plugin interface
Browse files Browse the repository at this point in the history
  • Loading branch information
monorimet committed Sep 27, 2023
1 parent 6847507 commit f18fa8e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ matchDAGForUKernel(RewriterBase &rewriter, linalg::Mmt4DOp op) {
Value k = getDimAsI32(rewriter, loc, reducedRhs, 1);
*/
Value m = rewriter.create<tensor::DimOp>(loc, reducedLhs, 0);
Value n = rewriter.create<tensor::DimOp>(loc, reducedRhs, 0);
Value k = rewriter.create<tensor::DimOp>(loc, reducedRhs, 1);
Value n = rewriter.create<tensor::DimOp>(loc, reducedLhs, 1);
Value k = rewriter.create<tensor::DimOp>(loc, reducedRhs, 0);
Value flagsVal = rewriter.create<arith::ConstantOp>(
loc, rewriter.getI32IntegerAttr(flags));
auto targetAttr = IREE::HAL::ExecutableTargetAttr::lookup(op);
Expand Down

0 comments on commit f18fa8e

Please sign in to comment.