git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11334 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2014-01-25 23:52:50 +00:00
parent af931f23d0
commit dc585528b2
38 changed files with 164 additions and 166 deletions

View File

@ -40,6 +40,8 @@
#define SPLINE 2
#define BITMAP 3
using namespace LAMMPS_NS;
// External functions from cuda library for atom decomposition
int table_gpu_init(const int ntypes, double **cutsq,
@ -51,8 +53,8 @@ int table_gpu_init(const int ntypes, double **cutsq,
void table_gpu_clear();
int ** table_gpu_compute_n(const int ago, const int inum, const int nall,
double **host_x, int *host_type, double *sublo,
double *subhi, int *tag, int **nspecial,
int **special, const bool eflag, const bool vflag,
double *subhi, tagint *tag, int **nspecial,
tagint **special, const bool eflag, const bool vflag,
const bool eatom, const bool vatom, int &host_start,
int **ilist, int **jnum, const double cpu_time,
bool &success);
@ -63,8 +65,6 @@ void table_gpu_compute(const int ago, const int inum, const int nall,
const double cpu_time, bool &success);
double table_gpu_bytes();
using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */
PairTableGPU::PairTableGPU(LAMMPS *lmp) : PairTable(lmp),