Yet Another eXchange Tool  0.9.0
Functions
xt_exchanger_irecv_isend.c File Reference
#include "core/ppm_xfuncs.h"
#include "xt/xt_mpi.h"
#include "xt/xt_request_msgs.h"
#include "xt_mpi_internal.h"
#include "xt_redist_internal.h"
#include "xt_exchanger_irecv_isend.h"
#include "xt_exchanger_simple_base.h"
Include dependency graph for xt_exchanger_irecv_isend.c:

Go to the source code of this file.

Functions

static void xt_exchanger_irecv_isend_s_exchange (const void *src_data, void *dst_data, int nsend, int nrecv, const struct Xt_redist_msg *send_msgs, const struct Xt_redist_msg *recv_msgs, int tag_offset, MPI_Comm comm)
 
static void xt_exchanger_irecv_isend_a_exchange (const void *src_data, void *dst_data, int nsend, int nrecv, const struct Xt_redist_msg *send_msgs, const struct Xt_redist_msg *recv_msgs, int tag_offset, MPI_Comm comm, Xt_request *request)
 
Xt_exchanger xt_exchanger_irecv_isend_new (int nsend, int nrecv, const struct Xt_redist_msg *send_msgs, const struct Xt_redist_msg *recv_msgs, MPI_Comm comm, int tag_offset)
 

Detailed Description

Author
Jörg Behrens behre.nosp@m.ns@d.nosp@m.krz.d.nosp@m.e Moritz Hanke hanke.nosp@m.@dkr.nosp@m.z.de Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de

Definition in file xt_exchanger_irecv_isend.c.

Function Documentation

◆ xt_exchanger_irecv_isend_a_exchange()

static void xt_exchanger_irecv_isend_a_exchange ( const void *  src_data,
void *  dst_data,
int  nsend,
int  nrecv,
const struct Xt_redist_msg send_msgs,
const struct Xt_redist_msg recv_msgs,
int  tag_offset,
MPI_Comm  comm,
Xt_request request 
)
static

Definition at line 86 of file xt_exchanger_irecv_isend.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xt_exchanger_irecv_isend_new()

Xt_exchanger xt_exchanger_irecv_isend_new ( int  nsend,
int  nrecv,
const struct Xt_redist_msg send_msgs,
const struct Xt_redist_msg recv_msgs,
MPI_Comm  comm,
int  tag_offset 
)

constructor for an exchanger using asynchronous send and recv

Parameters
[in]nsendnumber of send messages
[in]nrecvnumber of receive messages
[in]send_msgsarray with send messages
[in]recv_msgsarray with receive messages
[in]commMPI communicator that is to be used for the communication
[in]tag_offsettag
Remarks
tag_offset + xt_mpi_tag_exchange_msg must not be used on comm by any other part of the program during the lifetime of the created exchanger object

note: tag_offset + xt_mpi_tag_exchange_msg must not be used on comm by any other part of the program during the lifetime of the created exchanger object

Examples
test_exchanger_parallel.c.

Definition at line 116 of file xt_exchanger_irecv_isend.c.

Here is the call graph for this function:

◆ xt_exchanger_irecv_isend_s_exchange()

static void xt_exchanger_irecv_isend_s_exchange ( const void *  src_data,
void *  dst_data,
int  nsend,
int  nrecv,
const struct Xt_redist_msg send_msgs,
const struct Xt_redist_msg recv_msgs,
int  tag_offset,
MPI_Comm  comm 
)
static

Definition at line 59 of file xt_exchanger_irecv_isend.c.

Here is the caller graph for this function: