Added timing breakdown for fphi_uind

This commit is contained in:
Trung Nguyen
2022-09-14 15:28:44 -05:00
parent 9c4d3db558
commit cd3a00c2c4
5 changed files with 14 additions and 29 deletions

View File

@ -592,33 +592,6 @@ int HippoT::umutual2b(const int eflag, const int vflag) {
return GX;
}
// ---------------------------------------------------------------------------
// Interpolate the potential from the PME grid
// ---------------------------------------------------------------------------
template <class numtyp, class acctyp>
int HippoT::fphi_uind() {
int ainum=this->ans->inum();
if (ainum == 0)
return 0;
int _nall=this->atom->nall();
int nbor_pitch=this->nbor->nbor_pitch();
// Compute the block size and grid size to keep all cores busy
const int BX=this->block_size();
int GX=static_cast<int>(ceil(static_cast<double>(this->ans->inum())/
(BX/this->_threads_per_atom)));
/*
this->time_pair.start();
this->k_fphi_uind.set_size(GX,BX);
this->k_fphi_uind.run();
this->time_pair.stop();
*/
return GX;
}
// ---------------------------------------------------------------------------
// Reneighbor on GPU if necessary, and then compute polar real-space
// ---------------------------------------------------------------------------