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

Add missing sync in comm_kokkos

parent 744a8215
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1071,6 +1071,8 @@ void CommKokkos::copy_swap_info()
  // create map of ghost to local atom id
  // store periodic boundary transform from local to ghost

  k_sendlist.sync<LMPHostType>();

  if (totalsend > k_pbc.extent(0)) {
    k_pbc = DAT::tdual_int_2d("comm:pbc",totalsend,6);
    k_swap2 = DAT::tdual_int_2d("comm:swap2",2,totalsend);