YetAnotherCoupler 3.2.0_a
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
yac_mpi_internal.h File Reference
#include <stdint.h>
#include <mpi.h>
#include "utils_core.h"
#include "yac_mpi_common.h"
#include "yac_mpi.h"
Include dependency graph for yac_mpi_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  yac_group_comm
 

Macros

#define YAC_MPI_SIZE_T   MPI_UINT8_T
 
#define YAC_MPI_SIZE_T_TYPE   uint8_t
 
#define YAC_ALLTOALLV_P2P_DEC(N, T)
 

Functions

void yac_alltoallv_p2p (void const *send_buffer, size_t const *sendcounts, size_t const *sdispls, void *recv_buffer, size_t const *recvcounts, size_t const *rdispls, size_t dt_size, MPI_Datatype dt, MPI_Comm comm)
 
void yac_alltoallv_p2p_group (void const *send_buffer, int const *sendcounts, int const *sdispls, void *recv_buffer, int const *recvcounts, int const *rdispls, size_t dt_size, MPI_Datatype dt, struct yac_group_comm group_comm)
 
void yac_allreduce_sum_dble (double *buffer, int count, struct yac_group_comm group_comm)
 
void yac_allgather_uint64 (const uint64_t *sendbuf, uint64_t *recvbuf, int count, struct yac_group_comm group_comm)
 
void yac_bcast_group (void *buffer, int count, MPI_Datatype datatype, int root, struct yac_group_comm group_comm)
 
struct yac_group_comm yac_group_comm_new (MPI_Comm comm)
 
void yac_group_comm_delete (struct yac_group_comm group_comm)
 
int yac_group_comm_get_rank (struct yac_group_comm group_comm)
 
int yac_group_comm_get_size (struct yac_group_comm group_comm)
 
int yac_group_comm_get_global_rank (struct yac_group_comm group_comm)
 
int yac_group_comm_get_global_size (struct yac_group_comm group_comm)
 
void yac_group_comm_split (struct yac_group_comm group_comm, int split_rank, struct yac_group_comm *local_group_comm, struct yac_group_comm *remote_group_comm)
 
MPI_Datatype yac_get_bounding_circle_mpi_datatype (MPI_Comm comm)
 
MPI_Datatype yac_create_resized (MPI_Datatype dt, size_t new_size, MPI_Comm comm)
 
void yac_generate_alltoallv_args (int count, size_t const *sendcounts, size_t *recvcounts, size_t *sdispls, size_t *rdispls, MPI_Comm comm)
 
void yac_get_comm_buffers (int count, size_t **sendcounts, size_t **recvcounts, size_t **sdispls, size_t **rdispls, MPI_Comm comm)
 
void yac_free_comm_buffers (size_t *sendcounts, size_t *recvcounts, size_t *sdispls, size_t *rdispls)
 

Macro Definition Documentation

◆ YAC_ALLTOALLV_P2P_DEC

#define YAC_ALLTOALLV_P2P_DEC (   N,
 
)
Value:
void yac_alltoallv_ ## N ## _p2p( \
T const * send_buffer, size_t const * sendcounts, size_t const * sdispls, \
T * recv_buffer, size_t const * recvcounts, size_t const * rdispls, \
MPI_Comm comm); \

Definition at line 40 of file yac_mpi_internal.h.

◆ YAC_MPI_SIZE_T

#define YAC_MPI_SIZE_T   MPI_UINT8_T

Definition at line 15 of file yac_mpi_internal.h.

◆ YAC_MPI_SIZE_T_TYPE

#define YAC_MPI_SIZE_T_TYPE   uint8_t

Definition at line 16 of file yac_mpi_internal.h.

Function Documentation

◆ yac_allgather_uint64()

void yac_allgather_uint64 ( const uint64_t *  sendbuf,
uint64_t *  recvbuf,
int  count,
struct yac_group_comm  group_comm 
)

Definition at line 359 of file yac_mpi.c.

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

◆ yac_allreduce_sum_dble()

void yac_allreduce_sum_dble ( double *  buffer,
int  count,
struct yac_group_comm  group_comm 
)

Definition at line 287 of file yac_mpi.c.

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

◆ yac_alltoallv_p2p()

void yac_alltoallv_p2p ( void const *  send_buffer,
size_t const *  sendcounts,
size_t const *  sdispls,
void *  recv_buffer,
size_t const *  recvcounts,
size_t const *  rdispls,
size_t  dt_size,
MPI_Datatype  dt,
MPI_Comm  comm 
)

Definition at line 129 of file yac_mpi.c.

Here is the caller graph for this function:

◆ yac_alltoallv_p2p_group()

void yac_alltoallv_p2p_group ( void const *  send_buffer,
int const *  sendcounts,
int const *  sdispls,
void *  recv_buffer,
int const *  recvcounts,
int const *  rdispls,
size_t  dt_size,
MPI_Datatype  dt,
struct yac_group_comm  group_comm 
)

Definition at line 234 of file yac_mpi.c.

Here is the caller graph for this function:

◆ yac_bcast_group()

void yac_bcast_group ( void *  buffer,
int  count,
MPI_Datatype  datatype,
int  root,
struct yac_group_comm  group_comm 
)

Definition at line 403 of file yac_mpi.c.

Here is the caller graph for this function:

◆ yac_create_resized()

MPI_Datatype yac_create_resized ( MPI_Datatype  dt,
size_t  new_size,
MPI_Comm  comm 
)

Definition at line 548 of file yac_mpi.c.

Here is the caller graph for this function:

◆ yac_free_comm_buffers()

void yac_free_comm_buffers ( size_t *  sendcounts,
size_t *  recvcounts,
size_t *  sdispls,
size_t *  rdispls 
)

Definition at line 624 of file yac_mpi.c.

Here is the caller graph for this function:

◆ yac_generate_alltoallv_args()

void yac_generate_alltoallv_args ( int  count,
size_t const *  sendcounts,
size_t *  recvcounts,
size_t *  sdispls,
size_t *  rdispls,
MPI_Comm  comm 
)

Definition at line 569 of file yac_mpi.c.

Here is the caller graph for this function:

◆ yac_get_bounding_circle_mpi_datatype()

MPI_Datatype yac_get_bounding_circle_mpi_datatype ( MPI_Comm  comm)

Definition at line 528 of file yac_mpi.c.

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

◆ yac_get_comm_buffers()

void yac_get_comm_buffers ( int  count,
size_t **  sendcounts,
size_t **  recvcounts,
size_t **  sdispls,
size_t **  rdispls,
MPI_Comm  comm 
)

Definition at line 593 of file yac_mpi.c.

Here is the caller graph for this function:

◆ yac_group_comm_delete()

void yac_group_comm_delete ( struct yac_group_comm  group_comm)

Definition at line 478 of file yac_mpi.c.

Here is the caller graph for this function:

◆ yac_group_comm_get_global_rank()

int yac_group_comm_get_global_rank ( struct yac_group_comm  group_comm)

Definition at line 491 of file yac_mpi.c.

Here is the caller graph for this function:

◆ yac_group_comm_get_global_size()

int yac_group_comm_get_global_size ( struct yac_group_comm  group_comm)

Definition at line 497 of file yac_mpi.c.

◆ yac_group_comm_get_rank()

int yac_group_comm_get_rank ( struct yac_group_comm  group_comm)

Definition at line 483 of file yac_mpi.c.

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

◆ yac_group_comm_get_size()

int yac_group_comm_get_size ( struct yac_group_comm  group_comm)

Definition at line 487 of file yac_mpi.c.

Here is the caller graph for this function:

◆ yac_group_comm_new()

struct yac_group_comm yac_group_comm_new ( MPI_Comm  comm)

Definition at line 468 of file yac_mpi.c.

Here is the caller graph for this function:

◆ yac_group_comm_split()

void yac_group_comm_split ( struct yac_group_comm  group_comm,
int  split_rank,
struct yac_group_comm local_group_comm,
struct yac_group_comm remote_group_comm 
)

Definition at line 503 of file yac_mpi.c.

Here is the caller graph for this function: