[Mlir-commits] [mlir] [MLIR][NVVM] Add tcgen05.mma MLIR Ops (PR #164356)

Durgadoss R llvmlistbot at llvm.org
Fri Oct 24 01:15:32 PDT 2025


================
@@ -47,6 +48,17 @@ using namespace NVVM;
 
 static constexpr unsigned notIntrinsic = llvm::Intrinsic::not_intrinsic;
 
+static constexpr llvm::nvvm::CTAGroupKind
+getNVVMCtaGroupKind(NVVM::CTAGroupKind ctaGroup) {
----------------
durga4github wrote:

Nice for implementing this utility!

[optional]

In all the use of this utility below, I observe that we are casting the value to int.

Do you think it makes sense to do the cast here and return unsigned directly from here?
(Then we can name it getNVVMCtaGroupKindAsInt or something like that)

https://github.com/llvm/llvm-project/pull/164356


More information about the Mlir-commits mailing list