aff_mat 545 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c tm_affinity_mat_t *aff_mat = NULL; aff_mat 659 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c aff_mat = tm_build_affinity_mat(comm_pattern,size); aff_mat 660 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c comm_tree = tm_build_tree_from_topology(tm_topology,aff_mat, NULL, NULL); aff_mat 677 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c free(aff_mat->sum_row); aff_mat 678 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c free(aff_mat); aff_mat 766 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c tm_affinity_mat_t *aff_mat = NULL; aff_mat 868 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c aff_mat = tm_build_affinity_mat(comm_pattern,num_procs_in_node); aff_mat 869 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c comm_tree = tm_build_tree_from_topology(tm_topology,aff_mat, NULL, NULL); aff_mat 888 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c free(aff_mat->sum_row); aff_mat 889 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c free(aff_mat); aff_mat 521 ompi/mca/topo/treematch/treematch/tm_bucket.c tm_affinity_mat_t *aff_mat = (tm_affinity_mat_t*)args[2]; aff_mat 533 ompi/mca/topo/treematch/treematch/tm_bucket.c update_val(aff_mat,&new_tab_node[l]); aff_mat 538 ompi/mca/topo/treematch/treematch/tm_bucket.c double bucket_grouping(tm_affinity_mat_t *aff_mat,tm_tree_t *tab_node, tm_tree_t *new_tab_node, aff_mat 547 ompi/mca/topo/treematch/treematch/tm_bucket.c int N = aff_mat->order; aff_mat 548 ompi/mca/topo/treematch/treematch/tm_bucket.c double **mat = aff_mat->mat; aff_mat 636 ompi/mca/topo/treematch/treematch/tm_bucket.c args[2]=(void*)aff_mat; aff_mat 662 ompi/mca/topo/treematch/treematch/tm_bucket.c update_val(aff_mat,&new_tab_node[l]); aff_mat 31 ompi/mca/topo/treematch/treematch/tm_bucket.h double bucket_grouping(tm_affinity_mat_t *aff_mat,tm_tree_t *tab_node, tm_tree_t *new_tab_node, aff_mat 61 ompi/mca/topo/treematch/treematch/tm_mapping.c void tm_free_affinity_mat(tm_affinity_mat_t *aff_mat); aff_mat 281 ompi/mca/topo/treematch/treematch/tm_mapping.c tm_affinity_mat_t * aff_mat; aff_mat 283 ompi/mca/topo/treematch/treematch/tm_mapping.c aff_mat = (tm_affinity_mat_t *) MALLOC(sizeof(tm_affinity_mat_t)); aff_mat 284 ompi/mca/topo/treematch/treematch/tm_mapping.c aff_mat -> mat = mat; aff_mat 285 ompi/mca/topo/treematch/treematch/tm_mapping.c aff_mat -> sum_row = sum_row; aff_mat 286 ompi/mca/topo/treematch/treematch/tm_mapping.c aff_mat -> order = order; aff_mat 287 ompi/mca/topo/treematch/treematch/tm_mapping.c aff_mat -> nnz = nnz; aff_mat 289 ompi/mca/topo/treematch/treematch/tm_mapping.c return aff_mat; aff_mat 316 ompi/mca/topo/treematch/treematch/tm_mapping.c void tm_free_affinity_mat(tm_affinity_mat_t *aff_mat){ aff_mat 318 ompi/mca/topo/treematch/treematch/tm_mapping.c int n = aff_mat->order; aff_mat 321 ompi/mca/topo/treematch/treematch/tm_mapping.c FREE(aff_mat->mat[i]); aff_mat 323 ompi/mca/topo/treematch/treematch/tm_mapping.c FREE(aff_mat->mat); aff_mat 324 ompi/mca/topo/treematch/treematch/tm_mapping.c FREE(aff_mat->sum_row); aff_mat 325 ompi/mca/topo/treematch/treematch/tm_mapping.c FREE(aff_mat); aff_mat 22 ompi/mca/topo/treematch/treematch/tm_mapping.h void tm_free_affinity_mat(tm_affinity_mat_t *aff_mat); aff_mat 16 ompi/mca/topo/treematch/treematch/tm_solution.c double display_sol_sum_com(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma); aff_mat 17 ompi/mca/topo/treematch/treematch/tm_solution.c double display_sol(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma, tm_metric_t metric); aff_mat 18 ompi/mca/topo/treematch/treematch/tm_solution.c double tm_display_solution(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_solution_t *sol, aff_mat 20 ompi/mca/topo/treematch/treematch/tm_solution.c void tm_display_other_heuristics(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_metric_t metric); aff_mat 87 ompi/mca/topo/treematch/treematch/tm_solution.c double display_sol_sum_com(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma) aff_mat 92 ompi/mca/topo/treematch/treematch/tm_solution.c double **mat = aff_mat->mat; aff_mat 93 ompi/mca/topo/treematch/treematch/tm_solution.c int N = aff_mat->order; aff_mat 123 ompi/mca/topo/treematch/treematch/tm_solution.c static double display_sol_max_com(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma) aff_mat 128 ompi/mca/topo/treematch/treematch/tm_solution.c double **mat = aff_mat->mat; aff_mat 129 ompi/mca/topo/treematch/treematch/tm_solution.c int N = aff_mat->order; aff_mat 159 ompi/mca/topo/treematch/treematch/tm_solution.c static double display_sol_hop_byte(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma) aff_mat 164 ompi/mca/topo/treematch/treematch/tm_solution.c double **mat = aff_mat->mat; aff_mat 165 ompi/mca/topo/treematch/treematch/tm_solution.c int N = aff_mat->order; aff_mat 189 ompi/mca/topo/treematch/treematch/tm_solution.c double display_sol(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma, tm_metric_t metric){ aff_mat 192 ompi/mca/topo/treematch/treematch/tm_solution.c return display_sol_sum_com(topology, aff_mat, sigma); aff_mat 194 ompi/mca/topo/treematch/treematch/tm_solution.c return display_sol_max_com(topology, aff_mat, sigma); aff_mat 196 ompi/mca/topo/treematch/treematch/tm_solution.c return display_sol_hop_byte(topology, aff_mat, sigma); aff_mat 206 ompi/mca/topo/treematch/treematch/tm_solution.c double tm_display_solution(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_solution_t *sol, aff_mat 229 ompi/mca/topo/treematch/treematch/tm_solution.c return display_sol(topology, aff_mat, sol->sigma, metric); aff_mat 232 ompi/mca/topo/treematch/treematch/tm_solution.c void tm_display_other_heuristics(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_metric_t metric) aff_mat 235 ompi/mca/topo/treematch/treematch/tm_solution.c int N = aff_mat->order; aff_mat 241 ompi/mca/topo/treematch/treematch/tm_solution.c display_sol(topology, aff_mat, sigma, metric); aff_mat 245 ompi/mca/topo/treematch/treematch/tm_solution.c display_sol(topology, aff_mat, sigma, metric); aff_mat 8 ompi/mca/topo/treematch/treematch/tm_solution.h double display_sol_sum_com(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma); aff_mat 9 ompi/mca/topo/treematch/treematch/tm_solution.h double display_sol(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma, tm_metric_t metric); aff_mat 10 ompi/mca/topo/treematch/treematch/tm_solution.h double tm_display_solution(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_solution_t *sol, aff_mat 12 ompi/mca/topo/treematch/treematch/tm_solution.h void tm_display_other_heuristics(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_metric_t metric); aff_mat 85 ompi/mca/topo/treematch/treematch/tm_tree.c void free_affinity_mat(tm_affinity_mat_t *aff_mat); aff_mat 112 ompi/mca/topo/treematch/treematch/tm_tree.c void free_affinity_mat(tm_affinity_mat_t *aff_mat){ aff_mat 113 ompi/mca/topo/treematch/treematch/tm_tree.c free_tab_double(aff_mat->mat, aff_mat->order); aff_mat 114 ompi/mca/topo/treematch/treematch/tm_tree.c FREE(aff_mat->sum_row); aff_mat 115 ompi/mca/topo/treematch/treematch/tm_tree.c FREE(aff_mat); aff_mat 280 ompi/mca/topo/treematch/treematch/tm_tree.c static tm_affinity_mat_t *aggregate_aff_mat(tm_tree_t *tab_node, tm_affinity_mat_t *aff_mat, int M) aff_mat 283 ompi/mca/topo/treematch/treematch/tm_tree.c double **new_mat = NULL, **old_mat = aff_mat->mat; aff_mat 406 ompi/mca/topo/treematch/treematch/tm_tree.c double eval_grouping(tm_affinity_mat_t *aff_mat, tm_tree_t **cur_group, int arity) aff_mat 410 ompi/mca/topo/treematch/treematch/tm_tree.c double **mat = aff_mat->mat; aff_mat 411 ompi/mca/topo/treematch/treematch/tm_tree.c double * sum_row = aff_mat -> sum_row; aff_mat 469 ompi/mca/topo/treematch/treematch/tm_tree.c void list_all_possible_groups(tm_affinity_mat_t *aff_mat, tm_tree_t *tab_node, int id, int arity, int depth, aff_mat 474 ompi/mca/topo/treematch/treematch/tm_tree.c int mat_order = aff_mat->order; aff_mat 477 ompi/mca/topo/treematch/treematch/tm_tree.c val = eval_grouping(aff_mat, cur_group, arity); aff_mat 488 ompi/mca/topo/treematch/treematch/tm_tree.c list_all_possible_groups(aff_mat, tab_node, i+1, arity, depth+1, cur_group, list); aff_mat 493 ompi/mca/topo/treematch/treematch/tm_tree.c void update_val(tm_affinity_mat_t *aff_mat, tm_tree_t *parent) aff_mat 497 ompi/mca/topo/treematch/treematch/tm_tree.c parent->val = eval_grouping(aff_mat, parent->child, parent->arity); aff_mat 1504 ompi/mca/topo/treematch/treematch/tm_tree.c void fast_group(tm_affinity_mat_t *aff_mat, tm_tree_t *tab_node, tm_tree_t *parent, int id, int arity, int n, aff_mat 1509 ompi/mca/topo/treematch/treematch/tm_tree.c int mat_order = aff_mat->order; aff_mat 1517 ompi/mca/topo/treematch/treematch/tm_tree.c val = eval_grouping(aff_mat, cur_group, arity); aff_mat 1546 ompi/mca/topo/treematch/treematch/tm_tree.c fast_group(aff_mat, tab_node, parent, i, arity, n+1, best_val, cur_group, nb_groups, max_groups); aff_mat 1556 ompi/mca/topo/treematch/treematch/tm_tree.c double fast_grouping(tm_affinity_mat_t *aff_mat, tm_tree_t *tab_node, tm_tree_t *new_tab_node, int arity, int solution_size, double nb_groups) aff_mat 1569 ompi/mca/topo/treematch/treematch/tm_tree.c fast_group(aff_mat, tab_node, &new_tab_node[l], -1, arity, 0, &best_val, cur_group, &nb_done, MAX(10, (int)(50-CmiLog2(nb_groups))-solution_size/10)); aff_mat 1573 ompi/mca/topo/treematch/treematch/tm_tree.c update_val(aff_mat, &new_tab_node[l]); aff_mat 1586 ompi/mca/topo/treematch/treematch/tm_tree.c static double k_partition_grouping(tm_affinity_mat_t *aff_mat, tm_tree_t *tab_node, tm_tree_t *new_tab_node, int arity, int solution_size) { aff_mat 1588 ompi/mca/topo/treematch/treematch/tm_tree.c int n = aff_mat->order; aff_mat 1593 ompi/mca/topo/treematch/treematch/tm_tree.c com_mat.comm = aff_mat->mat; aff_mat 1615 ompi/mca/topo/treematch/treematch/tm_tree.c update_val(aff_mat, &new_tab_node[i]); aff_mat 1647 ompi/mca/topo/treematch/treematch/tm_tree.c void super_fast_grouping(tm_affinity_mat_t *aff_mat, tm_tree_t *tab_node, tm_tree_t *new_tab_node, int arity, int solution_size) aff_mat 1652 ompi/mca/topo/treematch/treematch/tm_tree.c int mat_order = aff_mat->order; aff_mat 1653 ompi/mca/topo/treematch/treematch/tm_tree.c double **mat = aff_mat->mat; aff_mat 1690 ompi/mca/topo/treematch/treematch/tm_tree.c update_val(aff_mat, &new_tab_node[l]); aff_mat 1709 ompi/mca/topo/treematch/treematch/tm_tree.c tm_affinity_mat_t *build_cost_matrix(tm_affinity_mat_t *aff_mat, double* obj_weight, double comm_speed) aff_mat 1718 ompi/mca/topo/treematch/treematch/tm_tree.c return aff_mat; aff_mat 1720 ompi/mca/topo/treematch/treematch/tm_tree.c mat_order = aff_mat->order; aff_mat 1721 ompi/mca/topo/treematch/treematch/tm_tree.c old_mat = aff_mat -> mat; aff_mat 1762 ompi/mca/topo/treematch/treematch/tm_tree.c void group_nodes(tm_affinity_mat_t *aff_mat, tm_tree_t *tab_node, tm_tree_t *new_tab_node, aff_mat 1769 ompi/mca/topo/treematch/treematch/tm_tree.c int mat_order = aff_mat -> order; aff_mat 1786 ompi/mca/topo/treematch/treematch/tm_tree.c cost_mat = build_cost_matrix(aff_mat, obj_weigth, comm_speed); aff_mat 1946 ompi/mca/topo/treematch/treematch/tm_tree.c if(cost_mat != aff_mat){ aff_mat 1957 ompi/mca/topo/treematch/treematch/tm_tree.c void complete_aff_mat(tm_affinity_mat_t **aff_mat , int mat_order, int K) aff_mat 1962 ompi/mca/topo/treematch/treematch/tm_tree.c old_mat = (*aff_mat) -> mat; aff_mat 1973 ompi/mca/topo/treematch/treematch/tm_tree.c sum_row[i] = (*aff_mat)->sum_row[i]; aff_mat 1976 ompi/mca/topo/treematch/treematch/tm_tree.c *aff_mat = new_affinity_mat(new_mat, sum_row, M, (*aff_mat)->nnz); aff_mat 2076 ompi/mca/topo/treematch/treematch/tm_tree.c tm_tree_t *build_level_topology(tm_tree_t *tab_node, tm_affinity_mat_t *aff_mat, int arity, int depth, tm_topology_t *topology, aff_mat 2081 ompi/mca/topo/treematch/treematch/tm_tree.c int mat_order=aff_mat->order ; aff_mat 2110 ompi/mca/topo/treematch/treematch/tm_tree.c complete_aff_mat(&aff_mat, mat_order, K); aff_mat 2145 ompi/mca/topo/treematch/treematch/tm_tree.c group_nodes(aff_mat, tab_node, new_tab_node, arity, M, obj_weight, speed); aff_mat 2149 ompi/mca/topo/treematch/treematch/tm_tree.c new_aff_mat = aggregate_aff_mat(new_tab_node, aff_mat, M); aff_mat 2184 ompi/mca/topo/treematch/treematch/tm_tree.c free_affinity_mat(aff_mat); aff_mat 2197 ompi/mca/topo/treematch/treematch/tm_tree.c tm_tree_t *bottom_up_build_tree_from_topology(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, aff_mat 2201 ompi/mca/topo/treematch/treematch/tm_tree.c int mat_order = aff_mat->order; aff_mat 2212 ompi/mca/topo/treematch/treematch/tm_tree.c res = build_level_topology(tab_node, aff_mat , topology->arity[depth-2], depth-1, topology, obj_weight, comm_speed); aff_mat 2273 ompi/mca/topo/treematch/treematch/tm_tree.c tm_tree_t * tm_build_tree_from_topology(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, double *obj_weight, double *com_speed) aff_mat 2284 ompi/mca/topo/treematch/treematch/tm_tree.c nb_processes = aff_mat->order; aff_mat 2320 ompi/mca/topo/treematch/treematch/tm_tree.c result = kpartition_build_tree_from_topology(topology, aff_mat->mat, nb_processes, constraints, nb_constraints, aff_mat 2322 ompi/mca/topo/treematch/treematch/tm_tree.c result->nb_processes = aff_mat->order; aff_mat 2331 ompi/mca/topo/treematch/treematch/tm_tree.c result = bottom_up_build_tree_from_topology(topology, aff_mat, obj_weight, com_speed); aff_mat 2332 ompi/mca/topo/treematch/treematch/tm_tree.c result->nb_processes = aff_mat->order; aff_mat 6 ompi/mca/topo/treematch/treematch/tm_tree.h void update_val(tm_affinity_mat_t *aff_mat,tm_tree_t *parent); aff_mat 166 ompi/mca/topo/treematch/treematch/treematch.h tm_tree_t *tm_build_tree_from_topology(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, double *obj_weight, double *com_speed); aff_mat 170 ompi/mca/topo/treematch/treematch/treematch.h double tm_display_solution(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_solution_t *sol, tm_metric_t metric); aff_mat 172 ompi/mca/topo/treematch/treematch/treematch.h void tm_display_other_heuristics(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_metric_t metric); aff_mat 177 ompi/mca/topo/treematch/treematch/treematch.h void tm_free_affinity_mat(tm_affinity_mat_t *aff_mat);