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_t * | build_synthetic_topology (int *arity, int nb_levels, int *core_numbering, int nb_core_per_node) |
int build_comm | ( | char * | filename, | |
double *** | pcomm | |||
) |
Definition at line 159 of file tm_mapping.C.
References comm, init_comm(), malloc(), and nb_lines().
void TreeMatchMapping | ( | int | nb_obj, | |
int | nb_proc, | |||
double ** | comm_mat, | |||
double * | obj_weigth, | |||
double * | com_speed, | |||
int | d, | |||
int * | sol | |||
) |
Definition at line 713 of file tm_mapping.C.
References tm_topology_t::arity, build_synthetic_proc_id(), build_tree_from_topology(), decompose(), free(), free_topology(), free_tree(), malloc(), map_topology(), tm_topology_t::nb_levels, and update_comm_speed().
Definition at line 55 of file tm_mapping.C.
Referenced by display_other_heuristics().
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().
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().
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().
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().
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().
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().
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().