From cf35ebe5fa1ca153cf1cf08aa8ee0b4cfb88d47c Mon Sep 17 00:00:00 2001 From: Stan Moore Date: Tue, 9 Apr 2019 16:17:37 -0600 Subject: [PATCH] Revert optimization that is causing regression tests to fail --- src/KOKKOS/comm_kokkos.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/KOKKOS/comm_kokkos.cpp b/src/KOKKOS/comm_kokkos.cpp index c496065ea0..52829356d9 100644 --- a/src/KOKKOS/comm_kokkos.cpp +++ b/src/KOKKOS/comm_kokkos.cpp @@ -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(); - k_exchange_copylist_short.template sync(); + k_exchange_copylist.modify(); + k_exchange_copylist.sync(); nsend = k_count.h_view(); if (nsend > maxsend) grow_send_kokkos(nsend,1); nsend =