PPL Logo

ck-ldb/tm_mapping.h File Reference

Go to the source code of this file.

Functions

int build_comm (char *filename, double ***pcomm)
void TreeMatchMapping (int nb_obj, int nb_proc, double **comm_mat, double *obj_weigth, double *com_speed, int d, int *sol)
double print_sol (int N, int *Value, double **comm, double **arch)
void map_topology_simple (tm_topology_t *topology, tree_t *comm_tree, int *sigma, int *k)
int nb_nodes (tm_topology_t *topology)
void free_topology (tm_topology_t *topology)
void display_other_heuristics (tm_topology_t *topology, int N, double **comm, double **arch)
void print_1D_tab (int *tab, int N)
void build_synthetic_proc_id (tm_topology_t *topology)
void display_topology (tm_topology_t *topology)
tm_topology_tbuild_synthetic_topology (int *arity, int nb_levels, int *core_numbering, int nb_core_per_node)


Function Documentation

int build_comm ( char *  filename,
double ***  pcomm 
)

Definition at line 159 of file tm_mapping.C.

References comm, init_comm(), malloc(), and nb_lines().

Here is the call graph for this function:

void TreeMatchMapping ( int  nb_obj,
int  nb_proc,
double **  comm_mat,
double *  obj_weigth,
double *  com_speed,
int  d,
int sol 
)

double print_sol ( int  N,
int Value,
double **  comm,
double **  arch 
)

Definition at line 55 of file tm_mapping.C.

References PUP::a, and c.

Referenced by display_other_heuristics().

Here is the caller graph for this function:

void map_topology_simple ( tm_topology_t topology,
tree_t comm_tree,
int sigma,
int k 
)

Definition at line 540 of file tm_mapping.C.

References map_topology(), tm_topology_t::nb_levels, and tm_topology_t::nb_nodes.

Referenced by TreeMatchLB::work().

Here is the call graph for this function:

Here is the caller graph for this function:

int nb_nodes ( tm_topology_t topology  ) 

Definition at line 37 of file tm_mapping.C.

References tm_topology_t::nb_levels, and tm_topology_t::nb_nodes.

Referenced by map_topology().

Here is the caller graph for this function:

void free_topology ( tm_topology_t topology  ) 

Definition at line 45 of file tm_mapping.C.

References tm_topology_t::arity, free(), tm_topology_t::nb_levels, tm_topology_t::nb_nodes, and tm_topology_t::node_id.

Referenced by TreeMatchMapping(), and TreeMatchLB::work().

Here is the call graph for this function:

Here is the caller graph for this function:

void display_other_heuristics ( tm_topology_t topology,
int  N,
double **  comm,
double **  arch 
)

Definition at line 768 of file tm_mapping.C.

References free(), malloc(), map_MPIPP(), map_Packed(), map_RR(), and print_sol().

Here is the call graph for this function:

void print_1D_tab ( int tab,
int  N 
)

Definition at line 81 of file tm_mapping.C.

void build_synthetic_proc_id ( tm_topology_t topology  ) 

Definition at line 671 of file tm_mapping.C.

References tm_topology_t::arity, malloc(), n, tm_topology_t::nb_levels, tm_topology_t::nb_nodes, and tm_topology_t::node_id.

Referenced by TreeMatchMapping().

Here is the call graph for this function:

Here is the caller graph for this function:

void display_topology ( tm_topology_t topology  ) 

Definition at line 617 of file tm_mapping.C.

References tm_topology_t::nb_levels, tm_topology_t::nb_nodes, and tm_topology_t::node_id.

Referenced by TreeMatchLB::work().

Here is the caller graph for this function:

tm_topology_t* build_synthetic_topology ( int arity,
int  nb_levels,
int core_numbering,
int  nb_core_per_node 
)

Definition at line 638 of file tm_mapping.C.

References tm_topology_t::arity, malloc(), n, tm_topology_t::nb_levels, tm_topology_t::nb_nodes, and tm_topology_t::node_id.

Referenced by build_abe_topology().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Sep 21 07:59:25 2020 for Charm++ by  doxygen 1.5.5