work around issues with Intel compilers compiling the GPU package
This commit is contained in:
@ -275,7 +275,7 @@ void FixGPU::init()
|
||||
// also disallow GPU neighbor lists for hybrid styles
|
||||
|
||||
if (force->pair_match("^hybrid",0) != nullptr) {
|
||||
auto hybrid = dynamic_cast<PairHybrid *>( force->pair);
|
||||
auto hybrid = dynamic_cast<PairHybrid *>(force->pair);
|
||||
for (int i = 0; i < hybrid->nstyles; i++)
|
||||
if (!utils::strmatch(hybrid->keywords[i],"/gpu$"))
|
||||
force->pair->no_virial_fdotr_compute = 1;
|
||||
|
||||
@ -77,7 +77,7 @@ void FixNHGPU::remap()
|
||||
double oldlo,oldhi;
|
||||
double expfac;
|
||||
|
||||
auto * _noalias const x = (dbl3_t *) atom->x[0];
|
||||
dbl3_t * _noalias const x = (dbl3_t *) atom->x[0];
|
||||
int *mask = atom->mask;
|
||||
int nlocal = atom->nlocal;
|
||||
double *h = domain->h;
|
||||
@ -414,7 +414,7 @@ void FixNHGPU::nh_v_press()
|
||||
return;
|
||||
}
|
||||
|
||||
auto * _noalias const v = (dbl3_t *)atom->v[0];
|
||||
dbl3_t * _noalias const v = (dbl3_t *)atom->v[0];
|
||||
int *mask = atom->mask;
|
||||
int nlocal = atom->nlocal;
|
||||
if (igroup == atom->firstgroup) nlocal = atom->nfirst;
|
||||
|
||||
Reference in New Issue
Block a user