Skip to content

Commit

Permalink
fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrantq committed Nov 8, 2024
1 parent bb020b4 commit 6631026
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions enzyme/Enzyme/Herbie.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3618,6 +3618,8 @@ bool accuracyDPSolver(
costToAccuracyMap.swap(newCostToAccuracyMap);
costToSolutionMap.swap(newCostToSolutionMap);

llvm::errs() << "##### Finished processing " << ++AOCounter << " of "
<< AOs.size() << " AOs #####\n";
continue;
}

Expand Down Expand Up @@ -3661,8 +3663,8 @@ bool accuracyDPSolver(
costToAccuracyMap.swap(prunedCostToAccuracyMap);
costToSolutionMap.swap(prunedCostToSolutionMap);

llvm::errs() << "Finished processing " << ++AOCounter << " of "
<< AOs.size() << " AOs\n";
llvm::errs() << "##### Finished processing " << ++AOCounter << " of "
<< AOs.size() << " AOs #####\n";
}

int ACCCounter = 0;
Expand Down Expand Up @@ -3754,8 +3756,8 @@ bool accuracyDPSolver(
costToAccuracyMap.swap(prunedCostToAccuracyMap);
costToSolutionMap.swap(prunedCostToSolutionMap);

llvm::errs() << "Finished processing " << ++ACCCounter << " of "
<< ACCs.size() << " ACCs\n";
llvm::errs() << "##### Finished processing " << ++ACCCounter << " of "
<< ACCs.size() << " ACCs #####\n";
}

if (EnzymePrintFPOpt) {
Expand Down Expand Up @@ -4443,9 +4445,9 @@ bool fpOptimize(Function &F, const TargetTransformInfo &TTI) {

ACCs.push_back(std::move(ACC));
}
llvm::errs() << "Finished synthesizing candidates for "
llvm::errs() << "##### Finished synthesizing candidates for "
<< ++componentCounter << " of " << connected_components.size()
<< " connected components\n";
<< " connected components! #####\n";
}

// Perform rewrites
Expand Down

0 comments on commit 6631026

Please sign in to comment.