Skip to content

Commit

Permalink
feat(compiler): Add support for tiling of optimizer.partition_frontier
Browse files Browse the repository at this point in the history
  • Loading branch information
andidr authored and BourgerieQuentin committed Apr 12, 2024
1 parent fcfaaee commit 2048105
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2021,6 +2021,9 @@ struct TensorPartitionFrontierOpToLinalgGeneric
outs, maps, iteratorTypes, doc,
call, bodyBuilder);

if (pfOp->hasAttr("tile-sizes"))
genericOp->setAttr("tile-sizes", pfOp->getAttr("tile-sizes"));

rewriter.replaceOp(pfOp, {genericOp.getResult(0)});

return ::mlir::success();
Expand Down

0 comments on commit 2048105

Please sign in to comment.