SimGrid  3.14.159
Versatile Simulation of Distributed Systems
coll_tuned_topo.h File Reference
#include "colls_private.h"

Classes

struct  ompi_coll_tree_t
 

Macros

#define MAXTREEFANOUT   32
 
#define COLL_TUNED_COMPUTED_SEGCOUNT(SEGSIZE, TYPELNG, SEGCOUNT)
 

Typedefs

typedef struct ompi_coll_tree_t ompi_coll_tree_t
 

Functions

ompi_coll_tree_tompi_coll_tuned_topo_build_tree (int fanout, MPI_Comm com, int root)
 
ompi_coll_tree_tompi_coll_tuned_topo_build_in_order_bintree (MPI_Comm comm)
 
ompi_coll_tree_tompi_coll_tuned_topo_build_bmtree (MPI_Comm comm, int root)
 
ompi_coll_tree_tompi_coll_tuned_topo_build_in_order_bmtree (MPI_Comm comm, int root)
 
ompi_coll_tree_tompi_coll_tuned_topo_build_chain (int fanout, MPI_Comm com, int root)
 
int ompi_coll_tuned_topo_destroy_tree (ompi_coll_tree_t **tree)
 
int ompi_coll_tuned_topo_dump_tree (ompi_coll_tree_t *tree, int rank)
 

Macro Definition Documentation

◆ MAXTREEFANOUT

#define MAXTREEFANOUT   32

◆ COLL_TUNED_COMPUTED_SEGCOUNT

#define COLL_TUNED_COMPUTED_SEGCOUNT (   SEGSIZE,
  TYPELNG,
  SEGCOUNT 
)
Value:
if( ((SEGSIZE) >= (TYPELNG)) && \
((SEGSIZE) < ((TYPELNG) * (SEGCOUNT))) ) { \
size_t residual; \
(SEGCOUNT) = (int)((SEGSIZE) / (TYPELNG)); \
residual = (SEGSIZE) - (SEGCOUNT) * (TYPELNG); \
if( residual > ((TYPELNG) >> 1) ) \
(SEGCOUNT)++; \
} \

Typedef Documentation

◆ ompi_coll_tree_t

Function Documentation

◆ ompi_coll_tuned_topo_build_tree()

ompi_coll_tree_t* ompi_coll_tuned_topo_build_tree ( int  fanout,
MPI_Comm  com,
int  root 
)

◆ ompi_coll_tuned_topo_build_in_order_bintree()

ompi_coll_tree_t* ompi_coll_tuned_topo_build_in_order_bintree ( MPI_Comm  comm)

◆ ompi_coll_tuned_topo_build_bmtree()

ompi_coll_tree_t* ompi_coll_tuned_topo_build_bmtree ( MPI_Comm  comm,
int  root 
)

◆ ompi_coll_tuned_topo_build_in_order_bmtree()

ompi_coll_tree_t* ompi_coll_tuned_topo_build_in_order_bmtree ( MPI_Comm  comm,
int  root 
)

◆ ompi_coll_tuned_topo_build_chain()

ompi_coll_tree_t* ompi_coll_tuned_topo_build_chain ( int  fanout,
MPI_Comm  com,
int  root 
)

◆ ompi_coll_tuned_topo_destroy_tree()

int ompi_coll_tuned_topo_destroy_tree ( ompi_coll_tree_t **  tree)

◆ ompi_coll_tuned_topo_dump_tree()

int ompi_coll_tuned_topo_dump_tree ( ompi_coll_tree_t tree,
int  rank 
)