SimGrid  3.14.159
Versatile Simulation of Distributed Systems
reduce-mvapich-two-level.c File Reference
#include "colls_private.h"

Macros

#define MV2_INTRA_SHMEM_REDUCE_MSG   2048
 
#define mv2_g_shmem_coll_max_msg_size   (1 << 17)
 
#define SHMEM_COLL_BLOCK_SIZE   (local_size * mv2_g_shmem_coll_max_msg_size)
 
#define mv2_use_knomial_reduce   1
 
#define MPIR_Reduce_inter_knomial_wrapper_MV2   smpi_coll_tuned_reduce_mvapich2_knomial
 
#define MPIR_Reduce_intra_knomial_wrapper_MV2   smpi_coll_tuned_reduce_mvapich2_knomial
 
#define MPIR_Reduce_binomial_MV2   smpi_coll_tuned_reduce_binomial
 
#define MPIR_Reduce_redscat_gather_MV2   smpi_coll_tuned_reduce_scatter_gather
 
#define MPIR_Reduce_shmem_MV2   smpi_coll_tuned_reduce_ompi_basic_linear
 

Functions

int smpi_coll_tuned_reduce_mvapich2_two_level (void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm)
 

Variables

int(* MV2_Reduce_function )(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm_ptr)
 
int(* MV2_Reduce_intra_function )(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm_ptr)
 
static int(* reduce_fn )(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm)
 

Macro Definition Documentation

◆ MV2_INTRA_SHMEM_REDUCE_MSG

#define MV2_INTRA_SHMEM_REDUCE_MSG   2048

◆ mv2_g_shmem_coll_max_msg_size

#define mv2_g_shmem_coll_max_msg_size   (1 << 17)

◆ SHMEM_COLL_BLOCK_SIZE

#define SHMEM_COLL_BLOCK_SIZE   (local_size * mv2_g_shmem_coll_max_msg_size)

◆ mv2_use_knomial_reduce

#define mv2_use_knomial_reduce   1

◆ MPIR_Reduce_inter_knomial_wrapper_MV2

#define MPIR_Reduce_inter_knomial_wrapper_MV2   smpi_coll_tuned_reduce_mvapich2_knomial

◆ MPIR_Reduce_intra_knomial_wrapper_MV2

#define MPIR_Reduce_intra_knomial_wrapper_MV2   smpi_coll_tuned_reduce_mvapich2_knomial

◆ MPIR_Reduce_binomial_MV2

#define MPIR_Reduce_binomial_MV2   smpi_coll_tuned_reduce_binomial

◆ MPIR_Reduce_redscat_gather_MV2

#define MPIR_Reduce_redscat_gather_MV2   smpi_coll_tuned_reduce_scatter_gather

◆ MPIR_Reduce_shmem_MV2

#define MPIR_Reduce_shmem_MV2   smpi_coll_tuned_reduce_ompi_basic_linear

Function Documentation

◆ smpi_coll_tuned_reduce_mvapich2_two_level()

int smpi_coll_tuned_reduce_mvapich2_two_level ( void sendbuf,
void recvbuf,
int  count,
MPI_Datatype  datatype,
MPI_Op  op,
int  root,
MPI_Comm  comm 
)

Variable Documentation

◆ MV2_Reduce_function

int(* MV2_Reduce_function) (void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm_ptr)

◆ MV2_Reduce_intra_function

int(* MV2_Reduce_intra_function) (void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm_ptr)

◆ reduce_fn

int(* reduce_fn) (void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm)
static