Commit f5a99dec authored by Stan Moore's avatar Stan Moore
Browse files

Remove unnecessary thread fences

parent 4784506b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -716,7 +716,6 @@ void FixShardlowKokkos<DeviceType>::initial_integrate(int vflag)
        l_uCond(i) = 0.0;
        l_uMech(i) = 0.0;
      });
      DeviceType::fence();
      atomKK->modified(execution_space,UCOND_MASK | UMECH_MASK);
    }

+0 −1
Original line number Diff line number Diff line
@@ -62,7 +62,6 @@ void FixWallLJ93Kokkos<DeviceType>::wall_particle(int m_in, int which, double co
  copymode = 1;
  FixWallLJ93KokkosFunctor<DeviceType> wp_functor(this);
  Kokkos::parallel_reduce(nlocal,wp_functor,ewall);
  DeviceType::fence();
  copymode = 0;

  atomKK->modified(execution_space, F_MASK);
+0 −2
Original line number Diff line number Diff line
@@ -673,7 +673,6 @@ int PairMultiLucyRXKokkos<DeviceType>::pack_forward_comm_kokkos(int n, DAT::tdua
  iswap = iswap_in;
  v_buf = buf.view<DeviceType>();
  Kokkos::parallel_for(Kokkos::RangePolicy<LMPDeviceType, TagPairMultiLucyRXPackForwardComm>(0,n),*this);
  DeviceType::fence();
  return n;
}

@@ -692,7 +691,6 @@ void PairMultiLucyRXKokkos<DeviceType>::unpack_forward_comm_kokkos(int n, int fi
  first = first_in;
  v_buf = buf.view<DeviceType>();
  Kokkos::parallel_for(Kokkos::RangePolicy<LMPDeviceType, TagPairMultiLucyRXUnpackForwardComm>(0,n),*this);
  DeviceType::fence();

  atomKK->modified(execution_space,DPDRHO_MASK);
}