[Mlir-commits] [mlir] [MLIR][NVVM] Combine griddepcontrol Ops (PR #152525)
Srinivasa Ravi
llvmlistbot at llvm.org
Thu Aug 14 07:09:34 PDT 2025
================
@@ -2995,30 +2995,47 @@ def NVVM_WgmmaMmaAsyncOp : NVVM_Op<"wgmma.mma_async",
// NVVM Griddepcontrol Ops
//===----------------------------------------------------------------------===//
-def NVVM_GriddepcontrolWaitOp : NVVM_IntrOp<"griddepcontrol.wait", [], 0> {
- let assemblyFormat = "attr-dict";
+def GridDepActionWait : I32EnumAttrCase<"wait", 0>;
+def GridDepActionLaunchDependent : I32EnumAttrCase<"launch_dependents", 1>;
+def GridDepActionKind : I32EnumAttr<"GridDepActionKind", "Action kind for grid dependency control",
----------------
Wolfram70 wrote:
nit: Maybe we can use `I32EnumCase` and `I32Enum` here (added in https://github.com/llvm/llvm-project/pull/132148)?
https://github.com/llvm/llvm-project/pull/152525
More information about the Mlir-commits
mailing list