minor changes

This commit is contained in:
Gurgen
2021-04-17 14:56:16 +03:00
parent 3e3f66adac
commit a91e904f34
4 changed files with 7 additions and 9 deletions

View File

@ -145,7 +145,7 @@ double LJSMOOTHT::host_memory_usage() const {
// Calculate energies, forces, and torques
// ---------------------------------------------------------------------------
template <class numtyp, class acctyp>
void LJSMOOTHT::loop(const bool _eflag, const bool _vflag) {
int LJSMOOTHT::loop(const bool _eflag, const bool _vflag) {
// Compute the block size and grid size to keep all cores busy
const int BX=this->block_size();
int eflag, vflag;

View File

@ -1,13 +1,13 @@
/***************************************************************************
lj_smooth.h
-------------------
W. Michael Brown (ORNL)
G. Melikyan
Class for acceleration of the lj/smooth pair style.
__________________________________________________________________________
This file is part of the LAMMPS Accelerator Library (LAMMPS_AL)
__________________________________________________________________________
begin :
email : brownw@ornl.gov
email : gkmelikyan@edu.hse.ru
***************************************************************************/
#ifndef LAL_LJ_SMOOTH_H
@ -83,7 +83,7 @@ class LJSMOOTH : public BaseAtomic<numtyp, acctyp> {
private:
bool _allocated;
void loop(const bool _eflag, const bool _vflag);
int loop(const int _eflag, const int _vflag);
};
}

View File

@ -142,5 +142,3 @@ void ljsmt_gpu_compute(const int ago, const int inum_full, const int nall,
double ljsmt_gpu_bytes() {
return LJSMTMF.host_memory_usage();
}