16 namespace Tpetra::Details {
21 const int *sendcounts;
23 MPI_Datatype sendtype;
25 const int *recvcounts;
29 MPI_Datatype recvtype;
37 template <
bool DevAccess>
38 int post(
const void *sendbuf,
39 const int *sendcounts,
41 MPI_Datatype sendtype,
43 const int *recvcounts,
49 MPI_Datatype recvtype,
53 req->sendbuf = sendbuf;
54 req->sendcounts = sendcounts;
55 req->sdispls = sdispls;
56 req->sendtype = sendtype;
57 req->recvbuf = recvbuf;
58 req->recvcounts = recvcounts;
59 req->rdispls = rdispls;
62 req->recvtype = recvtype;
66 req->devAccess = DevAccess;
67 req->completed =
false;
80 int get_status(
const Req &req,
int *flag, MPI_Status *status)
const;
84 std::shared_ptr<impl> pimpl;