16 namespace Tpetra::Details {
22 const int *sendcounts;
24 MPI_Datatype sendtype;
26 const int *recvcounts;
30 MPI_Datatype recvtype;
38 template <
bool DevAccess>
39 int post(
const void *sendbuf,
40 const int *sendcounts,
42 MPI_Datatype sendtype,
44 const int *recvcounts,
50 MPI_Datatype recvtype,
54 req->sendbuf = sendbuf;
55 req->sendcounts = sendcounts;
56 req->sdispls = sdispls;
57 req->sendtype = sendtype;
58 req->recvbuf = recvbuf;
59 req->recvcounts = recvcounts;
60 req->rdispls = rdispls;
63 req->recvtype = recvtype;
67 req->devAccess = DevAccess;
68 req->completed =
false;
81 int get_status(
const Req &req,
int *flag, MPI_Status *status)
const;
85 std::shared_ptr<impl> pimpl;