Update Kokkos library in LAMMPS to v2.9.00

This commit is contained in:
Stan Moore
2019-06-28 11:23:24 -06:00
parent 7f342b1cd0
commit ea2e73119d
506 changed files with 37043 additions and 6851 deletions

View File

@ -388,11 +388,11 @@ void neigh_build(System &s) {
MemsetZeroFunctor f_zero;
f_zero.ptr = (void*) s.bincount.ptr_on_device();
Kokkos::parallel_for(s.mbins, f_zero);
execution_space::fence();
execution_space().fence();
BinningFunctor f(s);
Kokkos::parallel_for(s.natoms, f);
execution_space::fence();
execution_space().fence();
/* Check if bins was large enough, if nor reallocated and rerun */
@ -416,7 +416,7 @@ void neigh_build(System &s) {
BuildFunctor f(s);
Kokkos::parallel_for(s.nlocal, f);
execution_space::fence();
execution_space().fence();
/* Check if neighbors was large enough, if nor reallocated and rerun */