Skip to content

Commit b5a791e

Browse files
authored
[XPU][TritonGEN] Drop RoundingModeAttr (#2802)
Drop unused `RoundingModeAttr` that is now both in the LLVM and Arith dialects in different forms. Signed-off-by: victor-eds <[email protected]>
1 parent 2aae978 commit b5a791e

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

third_party/intel/include/Dialect/TritonGEN/IR/TritonGENAttrDefs.td

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,6 @@ def TritonGEN_ScanKindAttr : I32EnumAttr<"ScanKind", "TritonGEN subgroup scan ki
4343
let cppNamespace = "::mlir::triton::TritonGEN";
4444
}
4545

46-
/// Enum attribute of the different floating-point rounding modes.
47-
def TritonGEN_RoundingModeAttr : I32EnumAttr<"RoundingMode",
48-
"TritonGEN floating-point rounding mode",
49-
[
50-
I32EnumAttrCase<"UNUSED", 0, "unused">,
51-
I32EnumAttrCase<"RTE", 1, "rte">, ///< Round to nearest, ties to even
52-
I32EnumAttrCase<"RTN", 2, "rtn">, ///< Round toward negative
53-
I32EnumAttrCase<"RTP", 3, "rtp">, ///< Round toward positive
54-
I32EnumAttrCase<"RTZ", 4, "rtz">, ///< Round toward zero
55-
]> {
56-
let cppNamespace = "::mlir::triton::TritonGEN";
57-
}
58-
5946
/// Enum attribute of the different precision types.
6047
def TritonGEN_PrecisionTypeAttr : I32EnumAttr<"PrecisionType",
6148
"TritonGEN precision type",

0 commit comments

Comments
 (0)