From 00ff895c0d50ffdad56ccf8d14423df036fbdfd6 Mon Sep 17 00:00:00 2001 From: alphataubio Date: Thu, 24 Oct 2024 12:11:12 -0400 Subject: [PATCH] Update fix_cmap_kokkos.cpp --- src/KOKKOS/fix_cmap_kokkos.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/KOKKOS/fix_cmap_kokkos.cpp b/src/KOKKOS/fix_cmap_kokkos.cpp index d65a72e63f..c701ac1a91 100644 --- a/src/KOKKOS/fix_cmap_kokkos.cpp +++ b/src/KOKKOS/fix_cmap_kokkos.cpp @@ -655,7 +655,7 @@ int FixCMAPKokkos::unpack_exchange(int nlocal, double *buf) template int FixCMAPKokkos::pack_exchange_kokkos( const int &nsend, DAT::tdual_xfloat_2d &k_buf, - DAT::tdual_int_1d k_exchange_sendlist, DAT::tdual_int_1d /*k_copylist*/, + DAT::tdual_int_1d k_exchange_sendlist, DAT::tdual_int_1d k_copylist, ExecutionSpace space) { @@ -666,8 +666,8 @@ int FixCMAPKokkos::pack_exchange_kokkos( auto d_buf = typename ArrayTypes::t_xfloat_1d_um( k_buf.template view().data(), k_buf.extent(0)*k_buf.extent(1)); - d_copylist = k_copylist.view(); - auto d_exchange_sendlist = k_exchange_sendlist.view(); + d_copylist = k_copylist.template view(); + auto d_exchange_sendlist = k_exchange_sendlist.template view(); int n; copymode = 1;