From cd8f4ff217e25c3395baa73683f4f2817b3ab377 Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Fri, 17 May 2024 09:36:56 -0600 Subject: [PATCH] mpi: allgather: fix trait alias --- src/impl/KokkosComm_allgather.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/impl/KokkosComm_allgather.hpp b/src/impl/KokkosComm_allgather.hpp index 75e41f61..ae9c4265 100644 --- a/src/impl/KokkosComm_allgather.hpp +++ b/src/impl/KokkosComm_allgather.hpp @@ -55,10 +55,10 @@ void allgather(const SendView &sv, const RecvView &rv, MPI_Comm comm) { template void allgather(const ExecSpace &space, const SendView &sv, const RecvView &rv, MPI_Comm comm) { Kokkos::Tools::pushRegion("KokkosComm::Impl::allgather"); - using ST = KokkosComm::Traits; - using RT = KokkosComm::Traits; + using SPT = KokkosComm::PackTraits; + using RPT = KokkosComm::PackTraits; - if (ST::needs_pack(sv) || RT::needs_pack(rv)) { + if (SPT::needs_pack(sv) || RPT::needs_pack(rv)) { throw std::runtime_error("allgather for non-contiguous views not implemented"); } else { space.fence(); // work in space may have been used to produce send view data