Removing unnecessary fences

This commit is contained in:
Stan Moore
2017-06-05 13:54:13 -06:00
parent 286d4f2743
commit ed50bd2254
21 changed files with 0 additions and 156 deletions

View File

@ -495,7 +495,6 @@ void FixNHKokkos<DeviceType>::nh_v_press()
Kokkos::parallel_for(Kokkos::RangePolicy<DeviceType, TagFixNH_nh_v_press<1> >(0,nlocal),*this);
else
Kokkos::parallel_for(Kokkos::RangePolicy<DeviceType, TagFixNH_nh_v_press<0> >(0,nlocal),*this);
DeviceType::fence();
copymode = 0;
atomKK->modified(execution_space,V_MASK);
@ -550,7 +549,6 @@ void FixNHKokkos<DeviceType>::nve_v()
Kokkos::parallel_for(Kokkos::RangePolicy<DeviceType, TagFixNH_nve_v<1> >(0,nlocal),*this);
else
Kokkos::parallel_for(Kokkos::RangePolicy<DeviceType, TagFixNH_nve_v<0> >(0,nlocal),*this);
DeviceType::fence();
copymode = 0;
}
@ -595,7 +593,6 @@ void FixNHKokkos<DeviceType>::nve_x()
copymode = 1;
Kokkos::parallel_for(Kokkos::RangePolicy<DeviceType, TagFixNH_nve_x>(0,nlocal),*this);
DeviceType::fence();
copymode = 0;
}
@ -631,7 +628,6 @@ void FixNHKokkos<DeviceType>::nh_v_temp()
copymode = 1;
Kokkos::parallel_for(Kokkos::RangePolicy<DeviceType, TagFixNH_nh_v_temp>(0,nlocal),*this);
DeviceType::fence();
copymode = 0;
atomKK->modified(execution_space,V_MASK);