From ea12fbaa4299d98aa3fe49fea0191bdb415c91a9 Mon Sep 17 00:00:00 2001 From: "Wen-Heng (Jack) Chung" Date: Fri, 4 Jun 2021 19:36:21 +0000 Subject: [PATCH] Remove the undesirable LDS barrier within MFMA code emission hot loop. --- mlir/include/mlir/Dialect/MIOpen/LowerMIOpenOps.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mlir/include/mlir/Dialect/MIOpen/LowerMIOpenOps.h b/mlir/include/mlir/Dialect/MIOpen/LowerMIOpenOps.h index 9df86259e22a..32938ae976b8 100644 --- a/mlir/include/mlir/Dialect/MIOpen/LowerMIOpenOps.h +++ b/mlir/include/mlir/Dialect/MIOpen/LowerMIOpenOps.h @@ -7731,10 +7731,6 @@ struct XdlopsGemmV2RewritePattern ValueRange{loopKiv}); } - // FIXME: See if it's possible to get rid of the this barrier. - // LDS barrier. - loopKb.create(loc); - SmallVector mfmas; for (int64_t i = 0; i < vectorNumber; ++i) { auto vectorC = loopK.getRegionIterArgs()[i];