Skip to content

Commit 0221a41

Browse files
committed
raise math.ceil/floor
1 parent c65bd33 commit 0221a41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/enzyme_ad/jax/Passes/ArithRaising.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ struct ArithRaisingPass
120120
RAISE_UNARY(math::CbrtOp, stablehlo::CbrtOp, mhlo::CbrtOp);
121121
RAISE_UNARY(math::AbsFOp, stablehlo::AbsOp, mhlo::AbsOp);
122122
RAISE_UNARY(math::IsFiniteOp, stablehlo::IsFiniteOp, mhlo::IsFiniteOp);
123+
RAISE_UNARY(math::CeilOp, stablehlo::CeilOp, mhlo::CeilOp);
124+
RAISE_UNARY(math::FloorOp, stablehlo::FloorOp, mhlo::FloorOp);
123125
RAISE_UNARY(arith::NegFOp, stablehlo::NegOp, mhlo::NegOp);
124126

125127
#undef RAISE_UNARY

0 commit comments

Comments
 (0)