diff --git a/src/KOKKOS/comm_kokkos.h b/src/KOKKOS/comm_kokkos.h index 668acb3974..3fcce82e2c 100644 --- a/src/KOKKOS/comm_kokkos.h +++ b/src/KOKKOS/comm_kokkos.h @@ -37,6 +37,8 @@ class CommKokkos : public CommBrick { ~CommKokkos() override; void init() override; + using CommBrick::forward_comm; + using CommBrick::reverse_comm; void forward_comm(int dummy = 0) override; // forward comm of atom coords void reverse_comm() override; // reverse comm of atom coords void exchange() override; // move atoms to new procs diff --git a/src/KOKKOS/comm_tiled_kokkos.h b/src/KOKKOS/comm_tiled_kokkos.h index 825da4a578..e3fac3afe6 100644 --- a/src/KOKKOS/comm_tiled_kokkos.h +++ b/src/KOKKOS/comm_tiled_kokkos.h @@ -26,6 +26,8 @@ class CommTiledKokkos : public CommTiled { CommTiledKokkos(class LAMMPS *, class Comm *); ~CommTiledKokkos() override; + using CommTiled::forward_comm; + using CommTiled::reverse_comm; void forward_comm(int dummy = 0) override; // forward comm of atom coords void reverse_comm() override; // reverse comm of forces void exchange() override; // move atoms to new procs diff --git a/src/KOKKOS/npair_ssa_kokkos.h b/src/KOKKOS/npair_ssa_kokkos.h index 73e6d0c534..68cfd587d9 100644 --- a/src/KOKKOS/npair_ssa_kokkos.h +++ b/src/KOKKOS/npair_ssa_kokkos.h @@ -289,6 +289,7 @@ class NPairSSAKokkosExecute h_new_maxneighs() = neigh_list.maxneighs; }; + KOKKOS_INLINE_FUNCTION ~NPairSSAKokkosExecute() {neigh_list.copymode = 1;}; KOKKOS_FUNCTION diff --git a/src/KOKKOS/rand_pool_wrap_kokkos.h b/src/KOKKOS/rand_pool_wrap_kokkos.h index 767f3d99b8..8d3275370e 100644 --- a/src/KOKKOS/rand_pool_wrap_kokkos.h +++ b/src/KOKKOS/rand_pool_wrap_kokkos.h @@ -48,7 +48,6 @@ class RandPoolWrap : protected Pointers { void destroy(); void init(RanMars*, int); - KOKKOS_INLINE_FUNCTION RandWrap get_state() const { #ifdef LMP_KOKKOS_GPU @@ -68,11 +67,7 @@ class RandPoolWrap : protected Pointers { return rand_wrap; } - KOKKOS_INLINE_FUNCTION - void free_state(RandWrap) const - { - - } + void free_state(RandWrap) const {} private: class RanMars **random_thr;