Skip to content

Commit

Permalink
Bump IREE 10/09/2024 (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental authored Oct 10, 2024
1 parent 9a43c3f commit f9f78a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -682,12 +682,11 @@ void addMLIRAIRLoweringPasses(OpPassManager &passManager, AMDAIEDevice device,
passManager.addPass(createCSEPass());
{
xilinx::air::AIRFuseChannelsOptions options;
std::vector<std::string> mode;
if (useTilePipeline == TilePassPipeline::PackPeelPipeline &&
matmulElementwiseFusion) {
mode.push_back("L1");
const static llvm::SmallVector<std::string> mode = {"L1"};
options.clAggressiveMode = mode;
}
options.clAggressiveMode = ArrayRef(mode);
passManager.addPass(xilinx::air::createAIRFuseChannels(options));
}
passManager.addPass(createCanonicalizerPass());
Expand Down Expand Up @@ -753,14 +752,13 @@ void addMLIRAIRLoweringPasses(OpPassManager &passManager, AMDAIEDevice device,
// with given factors, and subsequently unrolled in
// AIRUnrollOuterPerfectlyNestedLoopsPass, to enforce SHIM DMA BD count
// within the hardware limit.
std::vector<unsigned> tile_sizes;
if (useTilePipeline == TilePassPipeline::PackPeelPipeline) {
tile_sizes = {2, 2};
const static llvm::SmallVector<unsigned> tile_sizes = {2, 2};
options.clTileSizes = tile_sizes;
} else if (useTilePipeline == TilePassPipeline::PadPackPipeline) {
tile_sizes = {4, 4};
} else
tile_sizes = {};
options.clTileSizes = ArrayRef(tile_sizes);
const static llvm::SmallVector<unsigned> tile_sizes = {4, 4};
options.clTileSizes = tile_sizes;
}
passManager.addNestedPass<func::FuncOp>(
xilinx::air::createAffineLoopOptPass(options));
}
Expand Down
2 changes: 1 addition & 1 deletion third_party/iree
Submodule iree updated 220 files

0 comments on commit f9f78a9

Please sign in to comment.