make clang++ happy when trying to compile the GPU library

This commit is contained in:
Axel Kohlmeyer
2019-07-12 15:42:16 -04:00
parent 7109c1013a
commit e832b5d50b
61 changed files with 124 additions and 79 deletions

View File

@ -23,7 +23,7 @@ const char *lj=0;
#include "lal_lj.h"
#include <cassert>
using namespace LAMMPS_AL;
namespace LAMMPS_AL {
#define LJT LJ<numtyp, acctyp>
extern Device<PRECISION,ACC_PRECISION> device;
@ -168,3 +168,4 @@ void LJT::loop(const bool _eflag, const bool _vflag) {
}
template class LJ<PRECISION,ACC_PRECISION>;
}