From d6a67c284913a5da2e8c167a832e5ebc2f2ce546 Mon Sep 17 00:00:00 2001 From: stamoor Date: Fri, 4 Mar 2016 17:32:00 +0000 Subject: [PATCH] Fixing Kokkos bugs git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14722 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/KOKKOS/comm_kokkos.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/KOKKOS/comm_kokkos.cpp b/src/KOKKOS/comm_kokkos.cpp index 89ce4d3ad2..eec7f91ee2 100644 --- a/src/KOKKOS/comm_kokkos.cpp +++ b/src/KOKKOS/comm_kokkos.cpp @@ -496,6 +496,7 @@ void CommKokkos::exchange_device() k_count.h_view(0)=k_exchange_sendlist.h_view.dimension_0(); } } + k_exchange_copylist.sync(); k_exchange_sendlist.sync(); k_sendflag.sync(); @@ -615,9 +616,9 @@ void CommKokkos::borders() } atomKK->sync(Host,ALL_MASK); - - k_sendlist.modify(); atomKK->modified(Host,ALL_MASK); + k_sendlist.sync(); + k_sendlist.modify(); CommBrick::borders(); k_sendlist.modify(); atomKK->modified(Host,ALL_MASK);