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

@ -25,7 +25,7 @@ const char *pppm_d=0;
#include "lal_pppm.h"
#include <cassert>
using namespace LAMMPS_AL;
namespace LAMMPS_AL {
#define PPPMT PPPM<numtyp, acctyp, grdtyp, grdtyp4>
extern Device<PRECISION,ACC_PRECISION> global_device;
@ -402,3 +402,4 @@ void PPPMT::compile_kernels(UCL_Device &dev) {
template class PPPM<PRECISION,ACC_PRECISION,float,_lgpu_float4>;
template class PPPM<PRECISION,ACC_PRECISION,double,_lgpu_double4>;
}