16#ifndef PECLET_CORE_HALO_NBX_HPP
17#define PECLET_CORE_HALO_NBX_HPP
46 template <
typename PackNext,
typename OnRecv>
49 std::vector<std::unique_ptr<std::vector<char>>>
sendBufs;
52 auto buf = std::make_unique<std::vector<char>>();
void exchange(PackNext &&packNext, OnRecv &&onRecv, int tag=0)
NbxEngine(MPI_Comm comm=MPI_COMM_WORLD)
int MPI_Comm_size(MPI_Comm, int *s)
int MPI_Testall(int, MPI_Request *, int *flag, MPI_Status *)
#define MPI_STATUS_IGNORE
int MPI_Iprobe(int, int, MPI_Comm, int *flag, MPI_Status *)
int MPI_Recv(void *, int, MPI_Datatype, int, int, MPI_Comm, MPI_Status *)
#define MPI_STATUSES_IGNORE
int MPI_Ibarrier(MPI_Comm, MPI_Request *)
int MPI_Get_count(const MPI_Status *, MPI_Datatype, int *c)
int MPI_Issend(const void *, int, MPI_Datatype, int, int, MPI_Comm, MPI_Request *)
int MPI_Comm_rank(MPI_Comm, int *r)
int MPI_Test(MPI_Request *, int *flag, MPI_Status *)
Kokkos::View< T *, MemSpace > View
1D device array.