Yet Another eXchange Tool  DO_NOT_EDIT_HERE
Enumerations | Functions | Variables
xt_mpi_internal.h File Reference
#include <stdbool.h>
#include <mpi.h>
Include dependency graph for xt_mpi_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  xt_mpi_tags {
  xt_mpi_tag_exchange_msg, xt_mpi_tag_xmap_dist_dir_src_send, xt_mpi_tag_xmap_dist_dir_dst_send, xt_mpi_tag_xmap_intersection_header_exchange,
  xt_mpi_tag_xmap_intersection_data_exchange, xt_mpi_num_tags
}
 

Functions

void xt_mpi_init (void)
 
void xt_mpi_finalize (void)
 
MPI_Comm xt_mpi_comm_smart_dup (MPI_Comm comm, int *tag_offset)
 
void xt_mpi_comm_smart_dedup (MPI_Comm *comm, int tag_offset)
 
bool xt_mpi_test_some (int *restrict num_req, MPI_Request req[], int ops_completed[], MPI_Comm comm)
 

Variables

int xt_mpi_comm_internal_keyval
 

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_mpi_internal.h.

Enumeration Type Documentation

◆ xt_mpi_tags

Enumerator
xt_mpi_tag_exchange_msg 
xt_mpi_tag_xmap_dist_dir_src_send 
xt_mpi_tag_xmap_dist_dir_dst_send 
xt_mpi_tag_xmap_intersection_header_exchange 
xt_mpi_tag_xmap_intersection_data_exchange 
xt_mpi_num_tags 

Definition at line 59 of file xt_mpi_internal.h.

Function Documentation

◆ xt_mpi_comm_smart_dedup()

void xt_mpi_comm_smart_dedup ( MPI_Comm comm,
int  tag_offset 
)

Definition at line 901 of file xt_mpi.c.

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

◆ xt_mpi_comm_smart_dup()

MPI_Comm xt_mpi_comm_smart_dup ( MPI_Comm  comm,
int *  tag_offset 
)

Definition at line 850 of file xt_mpi.c.

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

◆ xt_mpi_finalize()

void xt_mpi_finalize ( void  )

Definition at line 790 of file xt_mpi.c.

Here is the caller graph for this function:

◆ xt_mpi_init()

void xt_mpi_init ( void  )

Definition at line 776 of file xt_mpi.c.

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

◆ xt_mpi_test_some()

bool xt_mpi_test_some ( int *restrict  num_req,
MPI_Request  req[],
int  ops_completed[],
MPI_Comm  comm 
)

Given an array of MPI requests, call MPI_Test_some and

  1. return if no requests are left unfinished
  2. sort non-finished requests into remaining leading part of array
  3. update count of remaining requests
Parameters
[in,out]num_reqpointer to count of requests
[in,out]reqarray of requests to test (size *num_req)
[out]ops_completedarray of size at least matching req, this is used as temporary scratch space and overwritten
[in]commcommunicator to use for failure notifications

Variable Documentation

◆ xt_mpi_comm_internal_keyval

int xt_mpi_comm_internal_keyval

Definition at line 725 of file xt_mpi.c.