From 18d422ec36b654c231f1cdd2e3984d5b815f72dc Mon Sep 17 00:00:00 2001 From: Kevin Huck Date: Thu, 29 Aug 2024 09:49:54 -0700 Subject: [PATCH] Stop evaluating results after convergence. --- src/apex/apex_policies.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apex/apex_policies.cpp b/src/apex/apex_policies.cpp index 3dc91d5c..df4388d8 100644 --- a/src/apex/apex_policies.cpp +++ b/src/apex/apex_policies.cpp @@ -968,8 +968,8 @@ int apex_exhaustive_policy(shared_ptr 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;