Skip to content

Commit

Permalink
prune on boundaries
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrantq committed Nov 13, 2024
1 parent 5b94be0 commit a8dede8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enzyme/Enzyme/Herbie.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3801,7 +3801,7 @@ bool accuracyDPSolver(
if (currCompCost - otherCompCost >
std::fabs(FPOptCostDominanceThreshold *
otherCompCost.getValue().getValue()) &&
currAccCost - otherAccCost >
currAccCost - otherAccCost >=
std::fabs(FPOptAccuracyDominanceThreshold * otherAccCost)) {
// if (EnzymePrintFPOpt)
// llvm::errs() << "AO candidate with computation cost: "
Expand Down Expand Up @@ -3901,7 +3901,7 @@ bool accuracyDPSolver(
if (currCompCost - otherCompCost >
std::fabs(FPOptCostDominanceThreshold *
otherCompCost.getValue().getValue()) &&
currAccCost - otherAccCost >
currAccCost - otherAccCost >=
std::fabs(FPOptAccuracyDominanceThreshold * otherAccCost)) {
// if (EnzymePrintFPOpt)
// llvm::errs() << "ACC candidate with computation cost: "
Expand Down

0 comments on commit a8dede8

Please sign in to comment.