diff --git a/src/impl/KokkosComm_barrier.hpp b/src/impl/KokkosComm_barrier.hpp index 20ccdc6e..44580086 100644 --- a/src/impl/KokkosComm_barrier.hpp +++ b/src/impl/KokkosComm_barrier.hpp @@ -18,16 +18,14 @@ #include -#include "KokkosComm_pack_traits.hpp" -#include "KokkosComm_traits.hpp" +#include "KokkosComm_concepts.hpp" // impl #include "KokkosComm_include_mpi.hpp" -#include "KokkosComm_types.hpp" namespace KokkosComm::Impl { -void barrier(MPI_Comm comm) { +inline void barrier(MPI_Comm comm) { Kokkos::Tools::pushRegion("KokkosComm::Impl::barrier"); MPI_Barrier(comm); Kokkos::Tools::popRegion(); @@ -39,4 +37,5 @@ void barrier(const ExecSpace &space, MPI_Comm comm) { space.fence("KokkosComm::Impl::barrier"); barrier(comm); } + } // namespace KokkosComm::Impl