[Mlir-commits] [mlir] [mlir][nvgpu] Delete nvgpu dialect useless variables kMaxTMALastdimByte (NFC) (PR #155825)

lonely eagle llvmlistbot at llvm.org
Thu Aug 28 05:14:27 PDT 2025


https://github.com/linuxlonelyeagle created https://github.com/llvm/llvm-project/pull/155825

Since the size of the last dimension of TMA is no longer fixed at 128 bytes, remove the kMaxTMALastdimByte.

>From bf5e47f72da93787c6f32cc652cc9aa8415fcfb7 Mon Sep 17 00:00:00 2001
From: linuxlonelyeagle <2020382038 at qq.com>
Date: Thu, 28 Aug 2025 12:09:45 +0000
Subject: [PATCH] delete kMaxTMALastdimByte

---
 mlir/include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/mlir/include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h b/mlir/include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h
index 61a57fb60bda4..b07e1a5beb866 100644
--- a/mlir/include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h
+++ b/mlir/include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h
@@ -46,8 +46,6 @@ constexpr unsigned kMaxTMATensorDimension = 5;
 /// to be traversed along each of the kMaxTMATensorDimension (tensorRank)
 /// dimensions, must be non-zero and less than or equal to 256.
 constexpr unsigned kMaxTMADimension = 256;
-/// Last dimension of 2D+ TMA must be 128 bytes
-constexpr unsigned kMaxTMALastdimByte = 128;
 
 #define GET_ATTRDEF_CLASSES
 #include "mlir/Dialect/NVGPU/IR/NVGPUAttrDefs.h.inc"



More information about the Mlir-commits mailing list