GPU Package: Switching back to timer disabling with multiple MPI tasks per GPU. Logic added to prevent mem leak.
This commit is contained in:
@ -304,7 +304,8 @@ int PPPMT::spread(const int ago, const int nlocal, const int nall,
|
||||
const double delxinv, const double delyinv,
|
||||
const double delzinv) {
|
||||
if (!_precompute_done) {
|
||||
atom->acc_timers();
|
||||
if (device->time_device())
|
||||
atom->acc_timers();
|
||||
_precompute(ago,nlocal,nall,host_x,host_type,success,host_q,boxlo,delxinv,
|
||||
delyinv,delzinv);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user