make *_gpu_reinit() functions consistent in returning void. correct prototypes in src/GPU, too.

this supersedes and closes #719
This commit is contained in:
Axel Kohlmeyer
2017-11-04 02:49:22 -04:00
parent f6658d10b7
commit b34000a5e1
5 changed files with 5 additions and 5 deletions

View File

@ -92,7 +92,7 @@ int lje_gpu_init(const int ntypes, double **cutsq, double **host_lj1,
// ---------------------------------------------------------------------------
// Copy updated coeffs from host to device
// ---------------------------------------------------------------------------
int lje_gpu_reinit(const int ntypes, double **cutsq, double **host_lj1,
void lje_gpu_reinit(const int ntypes, double **cutsq, double **host_lj1,
double **host_lj2, double **host_lj3, double **host_lj4,
double **offset, double **shift) {
int world_me=LJEMF.device->world_me();