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

@ -15,7 +15,7 @@
***************************************************************************/
#include "lal_base_charge.h"
using namespace LAMMPS_AL;
namespace LAMMPS_AL {
#define BaseChargeT BaseCharge<numtyp, acctyp>
extern Device<PRECISION,ACC_PRECISION> global_device;
@ -302,4 +302,4 @@ void BaseChargeT::compile_kernels(UCL_Device &dev, const void *pair_str,
}
template class BaseCharge<PRECISION,ACC_PRECISION>;
}