SimGrid  3.16
Versatile Simulation of Distributed Systems
simgrid::smpi::Request Class Reference

#include <smpi_request.hpp>

Inheritance diagram for simgrid::smpi::Request:
simgrid::smpi::F2C

Public Member Functions

 Request ()=default
 
 Request (void *buf, int count, MPI_Datatype datatype, int src, int dst, int tag, MPI_Comm comm, unsigned flags)
 
MPI_Comm comm ()
 
size_t size ()
 
size_t real_size ()
 
int src ()
 
int dst ()
 
int tag ()
 
int flags ()
 
int detached ()
 
void print_request (const char *message)
 
void start ()
 
int add_f ()
 
- Public Member Functions inherited from simgrid::smpi::F2C
int add_f ()
 
int c2f ()
 

Static Public Member Functions

static void finish_wait (MPI_Request *request, MPI_Status *status)
 
static void unref (MPI_Request *request)
 
static void wait (MPI_Request *req, MPI_Status *status)
 
static MPI_Request send_init (void *buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm)
 
static MPI_Request isend_init (void *buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm)
 
static MPI_Request ssend_init (void *buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm)
 
static MPI_Request rma_send_init (void *buf, int count, MPI_Datatype datatype, int src, int dst, int tag, MPI_Comm comm, MPI_Op op)
 
static MPI_Request recv_init (void *buf, int count, MPI_Datatype datatype, int src, int tag, MPI_Comm comm)
 
static MPI_Request rma_recv_init (void *buf, int count, MPI_Datatype datatype, int src, int dst, int tag, MPI_Comm comm, MPI_Op op)
 
static MPI_Request irecv_init (void *buf, int count, MPI_Datatype datatype, int src, int tag, MPI_Comm comm)
 
static MPI_Request isend (void *buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm)
 
static MPI_Request issend (void *buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm)
 
static MPI_Request irecv (void *buf, int count, MPI_Datatype datatype, int src, int tag, MPI_Comm comm)
 
static void recv (void *buf, int count, MPI_Datatype datatype, int src, int tag, MPI_Comm comm, MPI_Status *status)
 
static void send (void *buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm)
 
static void ssend (void *buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm)
 
static void sendrecv (void *sendbuf, int sendcount, MPI_Datatype sendtype, int dst, int sendtag, void *recvbuf, int recvcount, MPI_Datatype recvtype, int src, int recvtag, MPI_Comm comm, MPI_Status *status)
 
static void startall (int count, MPI_Request *requests)
 
static int test (MPI_Request *request, MPI_Status *status)
 
static int testsome (int incount, MPI_Request requests[], int *indices, MPI_Status status[])
 
static int testany (int count, MPI_Request requests[], int *index, MPI_Status *status)
 
static int testall (int count, MPI_Request requests[], MPI_Status status[])
 
static void probe (int source, int tag, MPI_Comm comm, MPI_Status *status)
 
static void iprobe (int source, int tag, MPI_Comm comm, int *flag, MPI_Status *status)
 
static int waitany (int count, MPI_Request requests[], MPI_Status *status)
 
static int waitall (int count, MPI_Request requests[], MPI_Status status[])
 
static int waitsome (int incount, MPI_Request requests[], int *indices, MPI_Status status[])
 
static int match_send (void *a, void *b, smx_activity_t ignored)
 
static int match_recv (void *a, void *b, smx_activity_t ignored)
 
static void free_f (int id)
 
static Requestf2c (int)
 
- Static Public Member Functions inherited from simgrid::smpi::F2C
static char * get_key (char *key, int id)
 
static char * get_key_id (char *key, int id)
 
static void delete_lookup ()
 
static xbt_dict_t lookup ()
 
static void free_f (int id)
 
static F2Cf2c (int id)
 

Additional Inherited Members

- Static Protected Member Functions inherited from simgrid::smpi::F2C
static xbt_dict_t f2c_lookup ()
 
static void set_f2c_lookup (xbt_dict_t dict)
 
static int f2c_id ()
 
static void f2c_id_increment ()
 

Constructor & Destructor Documentation

◆ Request() [1/2]

simgrid::smpi::Request::Request ( )
default

◆ Request() [2/2]

simgrid::smpi::Request::Request ( void buf,
int  count,
MPI_Datatype  datatype,
int  src,
int  dst,
int  tag,
MPI_Comm  comm,
unsigned  flags 
)

Member Function Documentation

◆ comm()

MPI_Comm simgrid::smpi::Request::comm ( )

◆ size()

size_t simgrid::smpi::Request::size ( )

◆ real_size()

size_t simgrid::smpi::Request::real_size ( )

◆ src()

int simgrid::smpi::Request::src ( )

◆ dst()

int simgrid::smpi::Request::dst ( )

◆ tag()

int simgrid::smpi::Request::tag ( )

◆ flags()

int simgrid::smpi::Request::flags ( )

◆ detached()

int simgrid::smpi::Request::detached ( )

◆ print_request()

void simgrid::smpi::Request::print_request ( const char *  message)

◆ start()

void simgrid::smpi::Request::start ( )

◆ finish_wait()

void simgrid::smpi::Request::finish_wait ( MPI_Request request,
MPI_Status status 
)
static

◆ unref()

void simgrid::smpi::Request::unref ( MPI_Request request)
static

◆ wait()

void simgrid::smpi::Request::wait ( MPI_Request req,
MPI_Status status 
)
static

◆ send_init()

MPI_Request simgrid::smpi::Request::send_init ( void buf,
int  count,
MPI_Datatype  datatype,
int  dst,
int  tag,
MPI_Comm  comm 
)
static

◆ isend_init()

MPI_Request simgrid::smpi::Request::isend_init ( void buf,
int  count,
MPI_Datatype  datatype,
int  dst,
int  tag,
MPI_Comm  comm 
)
static

◆ ssend_init()

MPI_Request simgrid::smpi::Request::ssend_init ( void buf,
int  count,
MPI_Datatype  datatype,
int  dst,
int  tag,
MPI_Comm  comm 
)
static

◆ rma_send_init()

MPI_Request simgrid::smpi::Request::rma_send_init ( void buf,
int  count,
MPI_Datatype  datatype,
int  src,
int  dst,
int  tag,
MPI_Comm  comm,
MPI_Op  op 
)
static

◆ recv_init()

MPI_Request simgrid::smpi::Request::recv_init ( void buf,
int  count,
MPI_Datatype  datatype,
int  src,
int  tag,
MPI_Comm  comm 
)
static

◆ rma_recv_init()

MPI_Request simgrid::smpi::Request::rma_recv_init ( void buf,
int  count,
MPI_Datatype  datatype,
int  src,
int  dst,
int  tag,
MPI_Comm  comm,
MPI_Op  op 
)
static

◆ irecv_init()

MPI_Request simgrid::smpi::Request::irecv_init ( void buf,
int  count,
MPI_Datatype  datatype,
int  src,
int  tag,
MPI_Comm  comm 
)
static

◆ isend()

MPI_Request simgrid::smpi::Request::isend ( void buf,
int  count,
MPI_Datatype  datatype,
int  dst,
int  tag,
MPI_Comm  comm 
)
static

◆ issend()

MPI_Request simgrid::smpi::Request::issend ( void buf,
int  count,
MPI_Datatype  datatype,
int  dst,
int  tag,
MPI_Comm  comm 
)
static

◆ irecv()

MPI_Request simgrid::smpi::Request::irecv ( void buf,
int  count,
MPI_Datatype  datatype,
int  src,
int  tag,
MPI_Comm  comm 
)
static

◆ recv()

void simgrid::smpi::Request::recv ( void buf,
int  count,
MPI_Datatype  datatype,
int  src,
int  tag,
MPI_Comm  comm,
MPI_Status status 
)
static

◆ send()

void simgrid::smpi::Request::send ( void buf,
int  count,
MPI_Datatype  datatype,
int  dst,
int  tag,
MPI_Comm  comm 
)
static

◆ ssend()

void simgrid::smpi::Request::ssend ( void buf,
int  count,
MPI_Datatype  datatype,
int  dst,
int  tag,
MPI_Comm  comm 
)
static

◆ sendrecv()

void simgrid::smpi::Request::sendrecv ( void sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
int  dst,
int  sendtag,
void recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  src,
int  recvtag,
MPI_Comm  comm,
MPI_Status status 
)
static

◆ startall()

void simgrid::smpi::Request::startall ( int  count,
MPI_Request requests 
)
static

◆ test()

int simgrid::smpi::Request::test ( MPI_Request request,
MPI_Status status 
)
static

◆ testsome()

int simgrid::smpi::Request::testsome ( int  incount,
MPI_Request  requests[],
int *  indices,
MPI_Status  status[] 
)
static

◆ testany()

int simgrid::smpi::Request::testany ( int  count,
MPI_Request  requests[],
int *  index,
MPI_Status status 
)
static

Maps all matching comms back to their location in requests

◆ testall()

int simgrid::smpi::Request::testall ( int  count,
MPI_Request  requests[],
MPI_Status  status[] 
)
static

◆ probe()

void simgrid::smpi::Request::probe ( int  source,
int  tag,
MPI_Comm  comm,
MPI_Status status 
)
static

◆ iprobe()

void simgrid::smpi::Request::iprobe ( int  source,
int  tag,
MPI_Comm  comm,
int *  flag,
MPI_Status status 
)
static

◆ waitany()

int simgrid::smpi::Request::waitany ( int  count,
MPI_Request  requests[],
MPI_Status status 
)
static

◆ waitall()

int simgrid::smpi::Request::waitall ( int  count,
MPI_Request  requests[],
MPI_Status  status[] 
)
static

◆ waitsome()

int simgrid::smpi::Request::waitsome ( int  incount,
MPI_Request  requests[],
int *  indices,
MPI_Status  status[] 
)
static

◆ match_send()

int simgrid::smpi::Request::match_send ( void a,
void b,
smx_activity_t  ignored 
)
static

◆ match_recv()

int simgrid::smpi::Request::match_recv ( void a,
void b,
smx_activity_t  ignored 
)
static

◆ add_f()

int simgrid::smpi::Request::add_f ( )

◆ free_f()

void simgrid::smpi::Request::free_f ( int  id)
static

◆ f2c()

MPI_Request simgrid::smpi::Request::f2c ( int  id)
static

The documentation for this class was generated from the following files: