Skip to content

Commit a92520f

Browse files
authored
Merge pull request #5370 from ye-luo/adjust-warmup-timer
Relocate warmup timer print after imbalance measurement.
2 parents d528b34 + 574703f commit a92520f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/QMCDrivers/VMC/VMCBatched.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,11 @@ bool VMCBatched::run()
371371
crowd_task(crowds_.size(), runWarmupStep, vmc_state, timers_, step_contexts_, crowds_);
372372
}
373373

374-
app_log() << "VMC Warmup completed in " << std::setprecision(4) << warmup_timer.elapsed() << " secs" << std::endl;
375374
print_mem("VMCBatched after Warmup", app_log());
376375
if (qmcdriver_input_.get_measure_imbalance())
377376
measureImbalance("Warmup");
377+
378+
app_log() << "VMC Warmup completed in " << std::setprecision(4) << warmup_timer.elapsed() << " secs" << std::endl;
378379
}
379380

380381
// this barrier fences all previous load imbalance. Avoid block 0 timing pollution.

0 commit comments

Comments
 (0)