[MLIR][KernelGen] Enable cluster rank specialization
Replace the previously used `TransformUnrankedHloPass` which rank-specializes only one operation at a time. The new generalized rank specialization clusters compatible operations and rank-specializes them collectively. PiperOrigin-RevId: 376127752
This commit is contained in:
parent
a4fa6afa07
commit
b32f885ad7
|
@ -1029,7 +1029,7 @@ def HLO_TupleOp : HLO_Op<"tuple", [NoSideEffect]> {
|
||||||
}
|
}
|
||||||
|
|
||||||
def HLO_CompareOp: HLO_Op<"compare", [NoSideEffect, SameTypeOperands,
|
def HLO_CompareOp: HLO_Op<"compare", [NoSideEffect, SameTypeOperands,
|
||||||
SameOperandsAndResultShape,
|
SameOperandsAndResultShape, Elementwise,
|
||||||
DeclareOpInterfaceMethods<InferShapedTypeOpInterface,
|
DeclareOpInterfaceMethods<InferShapedTypeOpInterface,
|
||||||
["inferReturnTypeComponents", "reifyReturnTypeShapes"]>]> {
|
["inferReturnTypeComponents", "reifyReturnTypeShapes"]>]> {
|
||||||
let summary = "Comparison operator";
|
let summary = "Comparison operator";
|
||||||
|
|
Loading…
Reference in New Issue