Skip to content

Commit

Permalink
Stop evaluating results after convergence.
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Aug 29, 2024
1 parent 3b62949 commit 18d422e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apex/apex_policies.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -968,8 +968,8 @@ int apex_exhaustive_policy(shared_ptr<apex_tuning_session> tuning_session,

if (tuning_session->exhaustive_session.converged() && force) {
/* Report the performance we've just measured. */
tuning_session->exhaustive_session.evaluate(new_value);
if (!tuning_session->converged_message) {
tuning_session->exhaustive_session.evaluate(new_value);
tuning_session->converged_message = true;
cout << "APEX: Tuning has converged for session " << tuning_session->id
<< "." << endl;
Expand Down

0 comments on commit 18d422e

Please sign in to comment.