Skip to content

Commit 1f8ec3e

Browse files
committed
fx
1 parent 10926b1 commit 1f8ec3e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2995,20 +2995,20 @@ def NVVM_WgmmaMmaAsyncOp : NVVM_Op<"wgmma.mma_async",
29952995
// NVVM Griddepcontrol Ops
29962996
//===----------------------------------------------------------------------===//
29972997

2998-
def FDLWait : I32EnumAttrCase<"wait", 0>;
2999-
def FDLLaunchDependent : I32EnumAttrCase<"launch_dependents", 1>;
2998+
def GridDepActionWait : I32EnumAttrCase<"wait", 0>;
2999+
def GridDepActionLaunchDependent : I32EnumAttrCase<"launch_dependents", 1>;
30003000

3001-
def FDLKind : I32EnumAttr<"FDLKind", "Fast dependenct launch kind",
3002-
[FDLWait, FDLLaunchDependent]> {
3001+
def GridDepActionKind : I32EnumAttr<"GridDepKind", "Action kind for grid dependency control",
3002+
[GridDepActionWait, GridDepActionLaunchDependent]> {
30033003
let genSpecializedAttr = 0;
30043004
let cppNamespace = "::mlir::NVVM";
30053005
}
30063006

3007-
def FDLKindAttr : EnumAttr<NVVM_Dialect, FDLKind, "fdl_kind">;
3007+
def GridDepActionAttr : EnumAttr<NVVM_Dialect, GridDepActionKind, "grid_dep_action">;
30083008

30093009
def NVVM_GriddepcontrolOp : NVVM_Op<"griddepcontrol", []> {
30103010
let description = [{
3011-
If the $kind attribute is set to `wait`, the instruction, it causes the
3011+
If the $kind attribute is set to `wait`, it causes the
30123012
executing thread to wait until all prerequisite grids in flight
30133013
have completed and all the memory operations from the prerequisite grids
30143014
are performed and made visible to the current grid.
@@ -3021,11 +3021,11 @@ def NVVM_GriddepcontrolOp : NVVM_Op<"griddepcontrol", []> {
30213021
[For more information, see PTX ISA](https://docs.nvidia.com/cuda/parallel-thread-execution/#parallel-synchronization-and-communication-instructions-griddepcontrol)
30223022
}];
30233023

3024-
let arguments = (ins FDLKindAttr:$kind);
3024+
let arguments = (ins GridDepActionAttr:$kind);
30253025

30263026
let assemblyFormat = "$kind attr-dict";
30273027

3028-
string llvmBuilder = [{
3028+
string llvmBuilder = [{
30293029
llvm::Intrinsic::ID id;
30303030
switch ($kind) {
30313031
case NVVM::FDLKind::wait:

0 commit comments

Comments
 (0)