[Mlir-commits] [mlir] [mlir][nvgpu] Delete nvgpu dialect useless variables kMaxTMALastdimByte (NFC) (PR #155825)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Aug 28 05:14:59 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-gpu
Author: lonely eagle (linuxlonelyeagle)
<details>
<summary>Changes</summary>
Since the size of the last dimension of TMA is no longer fixed at 128 bytes, remove the kMaxTMALastdimByte.
---
Full diff: https://github.com/llvm/llvm-project/pull/155825.diff
1 Files Affected:
- (modified) mlir/include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h (-2)
``````````diff
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"
``````````
</details>
https://github.com/llvm/llvm-project/pull/155825
More information about the Mlir-commits
mailing list