From 32217d7fd9afdf3742520e293e7700a137c19a66 Mon Sep 17 00:00:00 2001 From: "Wen-Heng (Jack) Chung" Date: Fri, 4 Jun 2021 18:56:07 +0000 Subject: [PATCH] Disable one set of tuning parameter for f16 XDLOPS kernel performance. --- mlir/include/mlir/Dialect/MIOpen/Tuning/GridwiseGemmParams.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mlir/include/mlir/Dialect/MIOpen/Tuning/GridwiseGemmParams.h b/mlir/include/mlir/Dialect/MIOpen/Tuning/GridwiseGemmParams.h index b6f3fcd8c3c2..1643dc3f827c 100644 --- a/mlir/include/mlir/Dialect/MIOpen/Tuning/GridwiseGemmParams.h +++ b/mlir/include/mlir/Dialect/MIOpen/Tuning/GridwiseGemmParams.h @@ -673,7 +673,9 @@ class PopulateParamsXDL : public PopulateParamsBase { private: llvm::SmallVector initParameters = { // M/block N/block K/block M/wave N/wave kPack aCopyMore bCopyMore - {256, 128, 16, 128, 64, 0, false, false}, + // FIXME. Temporarily disable this config to restrict MRepeats/NRepeats + // to 1 to reduce potential AGPR spills. + //{256, 128, 16, 128, 64, 0, false, false}, {128, 128, 16, 64, 64, 0, false, false}, {8, 64, 8, 8, 64, 0, false, false}, {4, 64, 16, 4, 64, 0, false, false},