Revert optimization that is causing regression tests to fail

This commit is contained in:
Stan Moore 2019-04-09 16:17:37 -06:00
parent 073f003470
commit cf35ebe5fa
1 changed files with 2 additions and 3 deletions

View File

@ -637,9 +637,8 @@ void CommKokkos::exchange_device()
k_exchange_copylist.h_view(i) = -1;
}
auto k_exchange_copylist_short = Kokkos::subview(k_exchange_copylist,k_count.h_view());
k_exchange_copylist_short.template modify<LMPHostType>();
k_exchange_copylist_short.template sync<DeviceType>();
k_exchange_copylist.modify<LMPHostType>();
k_exchange_copylist.sync<DeviceType>();
nsend = k_count.h_view();
if (nsend > maxsend) grow_send_kokkos(nsend,1);
nsend =