88 =
xmalloc(
sizeof(*request) + (
size_t)n *
sizeof(MPI_Request) +
89 (
size_t)n *
sizeof(
int));
104 MPI_STATUSES_IGNORE), request_msgs->
comm);
117 if (flag) free(request_msgs);
add versions of standard API functions not returning on error
int * ops_completed_buffer
const struct Xt_request_vtable * vtable
void(* wait)(Xt_request request)
bool xt_mpi_test_some(int *restrict num_req, MPI_Request *restrict req, int *restrict ops_completed, MPI_Comm comm)
#define xt_mpi_call(call, comm)
Provide non-public declarations common to all requests.
static int xt_request_msgs_test(Xt_request request)
Xt_request xt_request_msgs_new(int n, const MPI_Request *requests, MPI_Comm comm)
static const struct Xt_request_vtable request_msgs_vtable
static void xt_request_msgs_wait(Xt_request request)
struct Xt_request_msgs_ * Xt_request_msgs