replace MPI_Wtime() with platform::walltime()

This commit is contained in:
Axel Kohlmeyer
2021-10-05 22:53:39 -04:00
parent f17aeebbcd
commit 8b36061db4
77 changed files with 175 additions and 189 deletions

View File

@ -911,7 +911,7 @@ template <class ft, class acc_t>
void FixIntel::add_off_results(const ft * _noalias const f_in,
const acc_t * _noalias const ev_global) {
if (_offload_balance < 0.0)
_balance_other_time = MPI_Wtime() - _balance_other_time;
_balance_other_time = platform::walltime() - _balance_other_time;
start_watch(TIME_OFFLOAD_WAIT);
#ifdef _LMP_INTEL_OFFLOAD