topo 447 ompi/debuggers/ompi_mpihandles_dll.c mqs_taddr_t group, topo, keyhash; topo 540 ompi/debuggers/ompi_mpihandles_dll.c topo = ompi_fetch_pointer(process, topo 543 ompi/debuggers/ompi_mpihandles_dll.c if (0 != topo && topo 551 ompi/debuggers/ompi_mpihandles_dll.c topo + i_info->mca_topo_base_module_t.offset.mtc.cart.ndims, topo 572 ompi/debuggers/ompi_mpihandles_dll.c topo + i_info->mca_topo_base_module_t.offset.mtc.cart.dims, topo 575 ompi/debuggers/ompi_mpihandles_dll.c topo + i_info->mca_topo_base_module_t.offset.mtc.cart.periods, topo 578 ompi/debuggers/ompi_mpihandles_dll.c topo + i_info->mca_topo_base_module_t.offset.mtc.cart.coords, topo 588 ompi/debuggers/ompi_mpihandles_dll.c } else if (0 != topo && topo 596 ompi/debuggers/ompi_mpihandles_dll.c topo + i_info->mca_topo_base_module_t.offset.mtc.graph.nnodes, topo 605 ompi/debuggers/ompi_mpihandles_dll.c topo + i_info->mca_topo_base_module_t.offset.mtc.graph.index, topo 622 ompi/debuggers/ompi_mpihandles_dll.c topo + i_info->mca_topo_base_module_t.offset.mtc.graph.edges, topo 630 ompi/debuggers/ompi_mpihandles_dll.c } else if (0 != topo && topo 336 ompi/mca/common/ompio/common_ompio_aggregators.c ret = ompio_fh->f_comm->c_topo->topo.cart.cartdim_get(ompio_fh->f_comm, &cart_topo.ndims); topo 373 ompi/mca/common/ompio/common_ompio_aggregators.c ret = ompio_fh->f_comm->c_topo->topo.cart.cart_get(ompio_fh->f_comm, topo 393 ompi/mca/common/ompio/common_ompio_aggregators.c ret = ompio_fh->f_comm->c_topo->topo.cart.cart_rank (ompio_fh->f_comm,coords_tmp,&tmp_rank); topo 418 ompi/mca/common/ompio/common_ompio_aggregators.c ret = ompio_fh->f_comm->c_topo->topo.cart.cart_rank (ompio_fh->f_comm,coords_tmp,&tmp_rank); topo 248 ompi/mca/common/ompio/common_ompio_file_view.c ret = fh->f_comm->c_topo->topo.cart.cartdim_get( fh->f_comm, &ndims); topo 50 ompi/mca/topo/base/topo_base_cart_create.c int mca_topo_base_cart_create(mca_topo_base_module_t *topo, topo 65 ompi/mca/topo/base/topo_base_cart_create.c assert(topo->type == OMPI_COMM_CART); topo 177 ompi/mca/topo/base/topo_base_cart_create.c new_comm->c_topo = topo; topo 54 ompi/mca/topo/base/topo_base_cart_sub.c mca_topo_base_module_t* topo; topo 100 ompi/mca/topo/base/topo_base_cart_sub.c &topo, topo 155 ompi/mca/topo/base/topo_base_cart_sub.c temp_comm->c_topo = topo; topo 254 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.cart.cart_coords) { topo 255 ompi/mca/topo/base/topo_base_comm_select.c module->topo.cart.cart_coords = mca_topo_base_cart_coords; topo 257 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.cart.cart_create) { topo 258 ompi/mca/topo/base/topo_base_comm_select.c module->topo.cart.cart_create = mca_topo_base_cart_create; topo 260 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.cart.cart_get) { topo 261 ompi/mca/topo/base/topo_base_comm_select.c module->topo.cart.cart_get = mca_topo_base_cart_get; topo 263 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.cart.cartdim_get) { topo 264 ompi/mca/topo/base/topo_base_comm_select.c module->topo.cart.cartdim_get = mca_topo_base_cartdim_get; topo 266 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.cart.cart_map) { topo 267 ompi/mca/topo/base/topo_base_comm_select.c module->topo.cart.cart_map = mca_topo_base_cart_map; topo 269 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.cart.cart_rank) { topo 270 ompi/mca/topo/base/topo_base_comm_select.c module->topo.cart.cart_rank = mca_topo_base_cart_rank; topo 272 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.cart.cart_shift) { topo 273 ompi/mca/topo/base/topo_base_comm_select.c module->topo.cart.cart_shift = mca_topo_base_cart_shift; topo 275 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.cart.cart_sub) { topo 276 ompi/mca/topo/base/topo_base_comm_select.c module->topo.cart.cart_sub = mca_topo_base_cart_sub; topo 279 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.graph.graph_create) { topo 280 ompi/mca/topo/base/topo_base_comm_select.c module->topo.graph.graph_create = mca_topo_base_graph_create; topo 282 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.graph.graph_get) { topo 283 ompi/mca/topo/base/topo_base_comm_select.c module->topo.graph.graph_get = mca_topo_base_graph_get; topo 285 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.graph.graph_map) { topo 286 ompi/mca/topo/base/topo_base_comm_select.c module->topo.graph.graph_map = mca_topo_base_graph_map; topo 288 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.graph.graphdims_get) { topo 289 ompi/mca/topo/base/topo_base_comm_select.c module->topo.graph.graphdims_get = mca_topo_base_graphdims_get; topo 291 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.graph.graph_neighbors) { topo 292 ompi/mca/topo/base/topo_base_comm_select.c module->topo.graph.graph_neighbors = mca_topo_base_graph_neighbors; topo 294 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.graph.graph_neighbors_count) { topo 295 ompi/mca/topo/base/topo_base_comm_select.c module->topo.graph.graph_neighbors_count = mca_topo_base_graph_neighbors_count; topo 298 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.dist_graph.dist_graph_create) { topo 299 ompi/mca/topo/base/topo_base_comm_select.c module->topo.dist_graph.dist_graph_create = mca_topo_base_dist_graph_create; topo 301 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.dist_graph.dist_graph_create_adjacent) { topo 302 ompi/mca/topo/base/topo_base_comm_select.c module->topo.dist_graph.dist_graph_create_adjacent = mca_topo_base_dist_graph_create_adjacent; topo 304 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.dist_graph.dist_graph_neighbors) { topo 305 ompi/mca/topo/base/topo_base_comm_select.c module->topo.dist_graph.dist_graph_neighbors = mca_topo_base_dist_graph_neighbors; topo 307 ompi/mca/topo/base/topo_base_comm_select.c if (NULL == module->topo.dist_graph.dist_graph_neighbors_count) { topo 308 ompi/mca/topo/base/topo_base_comm_select.c module->topo.dist_graph.dist_graph_neighbors_count = mca_topo_base_dist_graph_neighbors_count; topo 48 ompi/mca/topo/base/topo_base_dist_graph_create.c mca_topo_base_comm_dist_graph_2_2_0_t* topo=NULL; topo 125 ompi/mca/topo/base/topo_base_dist_graph_create.c topo = OBJ_NEW(mca_topo_base_comm_dist_graph_2_2_0_t); topo 126 ompi/mca/topo/base/topo_base_dist_graph_create.c if( NULL == topo ) { topo 130 ompi/mca/topo/base/topo_base_dist_graph_create.c topo->indegree = idx[0].in; topo 131 ompi/mca/topo/base/topo_base_dist_graph_create.c topo->outdegree = idx[0].out; topo 132 ompi/mca/topo/base/topo_base_dist_graph_create.c topo->weighted = (weights != MPI_UNWEIGHTED); topo 133 ompi/mca/topo/base/topo_base_dist_graph_create.c if (topo->indegree > 0) { topo 134 ompi/mca/topo/base/topo_base_dist_graph_create.c topo->in = (int*)malloc(sizeof(int) * topo->indegree); topo 135 ompi/mca/topo/base/topo_base_dist_graph_create.c if (NULL == topo->in) { topo 140 ompi/mca/topo/base/topo_base_dist_graph_create.c topo->inw = (int*)malloc(sizeof(int) * topo->indegree); topo 141 ompi/mca/topo/base/topo_base_dist_graph_create.c if (NULL == topo->inw) { topo 147 ompi/mca/topo/base/topo_base_dist_graph_create.c if (topo->outdegree > 0) { topo 148 ompi/mca/topo/base/topo_base_dist_graph_create.c topo->out = (int*)malloc(sizeof(int) * topo->outdegree); topo 149 ompi/mca/topo/base/topo_base_dist_graph_create.c if (NULL == topo->out) { topo 154 ompi/mca/topo/base/topo_base_dist_graph_create.c topo->outw = (int*)malloc(sizeof(int) * topo->outdegree); topo 155 ompi/mca/topo/base/topo_base_dist_graph_create.c if (NULL == topo->outw) { topo 193 ompi/mca/topo/base/topo_base_dist_graph_create.c count = topo->indegree; topo 194 ompi/mca/topo/base/topo_base_dist_graph_create.c temp = topo->in; topo 215 ompi/mca/topo/base/topo_base_dist_graph_create.c topo->in[current_pos] = temp[2 * j + 0 + (count - left_over)]; topo 216 ompi/mca/topo/base/topo_base_dist_graph_create.c topo->inw[current_pos] = temp[2 * j + 1 + (count - left_over)]; topo 229 ompi/mca/topo/base/topo_base_dist_graph_create.c count = topo->outdegree; topo 230 ompi/mca/topo/base/topo_base_dist_graph_create.c temp = topo->out; topo 252 ompi/mca/topo/base/topo_base_dist_graph_create.c topo->out[current_pos] = temp[2 * j + 0 + (count - left_over)]; topo 253 ompi/mca/topo/base/topo_base_dist_graph_create.c topo->outw[current_pos] = temp[2 * j + 1 + (count - left_over)]; topo 263 ompi/mca/topo/base/topo_base_dist_graph_create.c *ptopo = topo; topo 264 ompi/mca/topo/base/topo_base_dist_graph_create.c topo = NULL; /* don't free it below */ topo 276 ompi/mca/topo/base/topo_base_dist_graph_create.c if( NULL != topo ) { topo 277 ompi/mca/topo/base/topo_base_dist_graph_create.c OBJ_RELEASE(topo); topo 33 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c mca_topo_base_comm_dist_graph_2_2_0_t *topo = NULL; topo 54 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c topo = OBJ_NEW(mca_topo_base_comm_dist_graph_2_2_0_t); topo 55 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c if( NULL == topo ) { topo 58 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c topo->in = topo->inw = NULL; topo 59 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c topo->out = topo->outw = NULL; topo 60 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c topo->indegree = indegree; topo 61 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c topo->outdegree = outdegree; topo 62 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c topo->weighted = !((MPI_UNWEIGHTED == sourceweights) && (MPI_UNWEIGHTED == destweights)); topo 64 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c if (topo->indegree > 0) { topo 65 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c topo->in = (int*)malloc(sizeof(int) * topo->indegree); topo 66 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c if (NULL == topo->in) { topo 69 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c memcpy(topo->in, sources, sizeof(int) * topo->indegree); topo 71 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c topo->inw = (int*)malloc(sizeof(int) * topo->indegree); topo 72 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c if( NULL == topo->inw ) { topo 75 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c memcpy( topo->inw, sourceweights, sizeof(int) * topo->indegree ); topo 79 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c if (topo->outdegree > 0) { topo 80 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c topo->out = (int*)malloc(sizeof(int) * topo->outdegree); topo 81 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c if (NULL == topo->out) { topo 84 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c memcpy(topo->out, destinations, sizeof(int) * topo->outdegree); topo 85 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c topo->outw = NULL; topo 87 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c if (topo->outdegree > 0) { topo 88 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c topo->outw = (int*)malloc(sizeof(int) * topo->outdegree); topo 89 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c if (NULL == topo->outw) { topo 92 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c memcpy(topo->outw, destweights, sizeof(int) * topo->outdegree); topo 98 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c (*newcomm)->c_topo->mtc.dist_graph = topo; topo 105 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c if (NULL != topo) { topo 106 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c if( NULL != topo->in ) free(topo->in); topo 108 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c if( NULL != topo->inw ) free(topo->inw); topo 110 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c if( NULL != topo->out ) free(topo->out); topo 112 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c if( NULL != topo->outw ) free(topo->outw); topo 114 ompi/mca/topo/base/topo_base_dist_graph_create_adjacent.c OBJ_RELEASE(topo); topo 143 ompi/mca/topo/base/topo_base_find_available.c mca_topo_base_component_2_2_0_t *topo = topo 146 ompi/mca/topo/base/topo_base_find_available.c return topo->topoc_init_query(enable_progress_threads, topo 43 ompi/mca/topo/base/topo_base_frame.c static void mca_topo_base_module_construct(mca_topo_base_module_t * topo) { topo 44 ompi/mca/topo/base/topo_base_frame.c memset(&(topo->mtc), 0, sizeof(topo->mtc)); topo 47 ompi/mca/topo/base/topo_base_frame.c static void mca_topo_base_module_destruct(mca_topo_base_module_t * topo) { topo 51 ompi/mca/topo/base/topo_base_frame.c if (NULL != topo->mtc.cart) { topo 52 ompi/mca/topo/base/topo_base_frame.c OBJ_RELEASE(topo->mtc.cart); topo 101 ompi/mca/topo/base/topo_base_frame.c MCA_BASE_FRAMEWORK_DECLARE(ompi, topo, "OMPI Topo", NULL, topo 43 ompi/mca/topo/base/topo_base_graph_create.c int mca_topo_base_graph_create(mca_topo_base_module_t *topo, topo 58 ompi/mca/topo/base/topo_base_graph_create.c assert(topo->type == OMPI_COMM_GRAPH); topo 139 ompi/mca/topo/base/topo_base_graph_create.c new_comm->c_topo = topo; topo 80 ompi/mca/topo/example/topo_example_component.c example->super.topo.cart.cart_map = mca_topo_example_cart_map; topo 82 ompi/mca/topo/example/topo_example_component.c example->super.topo.graph.graph_map = mca_topo_example_graph_map; topo 46 ompi/mca/topo/example/topo_example_module.c memset(&m->topo, 0, sizeof(m->topo)); topo 335 ompi/mca/topo/topo.h } topo; topo 86 ompi/mca/topo/treematch/topo_treematch_component.c treematch->super.topo.dist_graph.dist_graph_create = mca_topo_treematch_dist_graph_create; topo 127 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c mca_topo_base_comm_dist_graph_2_2_0_t *topo = NULL; topo 153 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c topo = topo_module->mtc.dist_graph; topo 397 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c if( true == topo->weighted ) { topo 398 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c for(i = 0; i < topo->indegree ; i++) topo 399 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c local_pattern[topo->in[i]] += topo->inw[i]; topo 400 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c for(i = 0; i < topo->outdegree ; i++) topo 401 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c local_pattern[topo->out[i]] += topo->outw[i]; topo 743 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c if( true == topo->weighted ) { topo 744 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c for(i = 0; i < topo->indegree; i++) topo 745 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c if (grank_to_lrank[topo->in[i]] != -1) topo 746 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c local_pattern[grank_to_lrank[topo->in[i]]] += topo->inw[i]; topo 747 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c for(i = 0; i < topo->outdegree; i++) topo 748 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c if (grank_to_lrank[topo->out[i]] != -1) topo 749 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c local_pattern[grank_to_lrank[topo->out[i]]] += topo->outw[i]; topo 38 ompi/mca/topo/treematch/topo_treematch_module.c memset(&m->topo, 0, sizeof(m->topo)); topo 78 ompi/mpi/c/cart_coords.c err = comm->c_topo->topo.cart.cart_coords(comm, rank, maxdims, coords); topo 48 ompi/mpi/c/cart_create.c mca_topo_base_module_t* topo; topo 98 ompi/mpi/c/cart_create.c &topo, topo 104 ompi/mpi/c/cart_create.c err = topo->topo.cart.cart_create(topo, old_comm, topo 110 ompi/mpi/c/cart_create.c OBJ_RELEASE(topo); topo 72 ompi/mpi/c/cart_get.c err = comm->c_topo->topo.cart.cart_get(comm, maxdims, dims, periods, coords); topo 79 ompi/mpi/c/cart_map.c err = comm->c_topo->topo.cart.cart_map(comm, ndims, dims, topo 102 ompi/mpi/c/cart_rank.c err = comm->c_topo->topo.cart.cart_rank(comm, coords, rank); topo 79 ompi/mpi/c/cart_shift.c err = comm->c_topo->topo.cart.cart_shift(comm, direction, disp, rank_source, rank_dest); topo 77 ompi/mpi/c/cart_sub.c err = comm->c_topo->topo.cart.cart_sub(comm, remain_dims, new_comm); topo 73 ompi/mpi/c/cartdim_get.c err = comm->c_topo->topo.cart.cartdim_get(comm, ndims); topo 41 ompi/mpi/c/dist_graph_create.c mca_topo_base_module_t* topo; topo 87 ompi/mpi/c/dist_graph_create.c &topo, OMPI_COMM_DIST_GRAPH))) { topo 91 ompi/mpi/c/dist_graph_create.c err = topo->topo.dist_graph.dist_graph_create(topo, comm_old, n, sources, degrees, topo 51 ompi/mpi/c/dist_graph_create_adjacent.c mca_topo_base_module_t* topo; topo 98 ompi/mpi/c/dist_graph_create_adjacent.c &topo, OMPI_COMM_DIST_GRAPH))) { topo 102 ompi/mpi/c/dist_graph_create_adjacent.c err = topo->topo.dist_graph.dist_graph_create_adjacent(topo, comm_old, indegree, topo 68 ompi/mpi/c/dist_graph_neighbors.c err = comm->c_topo->topo.dist_graph.dist_graph_neighbors(comm, maxindegree, topo 64 ompi/mpi/c/dist_graph_neighbors_count.c err = comm->c_topo->topo.dist_graph.dist_graph_neighbors_count(comm, inneighbors, topo 48 ompi/mpi/c/graph_create.c mca_topo_base_module_t* topo; topo 98 ompi/mpi/c/graph_create.c &topo, topo 104 ompi/mpi/c/graph_create.c err = topo->topo.graph.graph_create(topo, old_comm, topo 110 ompi/mpi/c/graph_create.c OBJ_RELEASE(topo); topo 75 ompi/mpi/c/graph_get.c err = comm->c_topo->topo.graph.graph_get(comm, maxindx, maxedges, indx, edges); topo 79 ompi/mpi/c/graph_map.c err = comm->c_topo->topo.graph.graph_map(comm, nnodes, indx, edges, newrank); topo 80 ompi/mpi/c/graph_neighbors.c err = comm->c_topo->topo.graph.graph_neighbors(comm, rank, maxneighbors, neighbors); topo 77 ompi/mpi/c/graph_neighbors_count.c err = comm->c_topo->topo.graph.graph_neighbors_count(comm, rank, nneighbors); topo 73 ompi/mpi/c/graphdims_get.c err = comm->c_topo->topo.graph.graphdims_get(comm, nnodes, nedges); topo 106 opal/mca/hwloc/base/base.h OPAL_DECLSPEC opal_hwloc_locality_t opal_hwloc_base_get_relative_locality(hwloc_topology_t topo, topo 168 opal/mca/hwloc/base/base.h OPAL_DECLSPEC int opal_hwloc_base_filter_cpus(hwloc_topology_t topo); topo 173 opal/mca/hwloc/base/base.h OPAL_DECLSPEC void opal_hwloc_base_free_topology(hwloc_topology_t topo); topo 174 opal/mca/hwloc/base/base.h OPAL_DECLSPEC unsigned int opal_hwloc_base_get_nbobjs_by_type(hwloc_topology_t topo, topo 178 opal/mca/hwloc/base/base.h OPAL_DECLSPEC void opal_hwloc_base_clear_usage(hwloc_topology_t topo); topo 180 opal/mca/hwloc/base/base.h OPAL_DECLSPEC hwloc_obj_t opal_hwloc_base_get_obj_by_type(hwloc_topology_t topo, topo 185 opal/mca/hwloc/base/base.h OPAL_DECLSPEC unsigned int opal_hwloc_base_get_obj_idx(hwloc_topology_t topo, topo 189 opal/mca/hwloc/base/base.h OPAL_DECLSPEC int opal_hwloc_get_sorted_numa_list(hwloc_topology_t topo, topo 196 opal/mca/hwloc/base/base.h OPAL_DECLSPEC unsigned int opal_hwloc_base_get_npus(hwloc_topology_t topo, topo 210 opal/mca/hwloc/base/base.h hwloc_topology_t topo, topo 214 opal/mca/hwloc/base/base.h OPAL_DECLSPEC char* opal_hwloc_base_find_coprocessors(hwloc_topology_t topo); topo 268 opal/mca/hwloc/base/base.h hwloc_topology_t topo, topo 280 opal/mca/hwloc/base/base.h hwloc_topology_t topo, topo 284 opal/mca/hwloc/base/base.h OPAL_DECLSPEC hwloc_obj_t opal_hwloc_base_get_pu(hwloc_topology_t topo, topo 290 opal/mca/hwloc/base/base.h OPAL_DECLSPEC char* opal_hwloc_base_get_topo_signature(hwloc_topology_t topo); topo 294 opal/mca/hwloc/base/base.h OPAL_DECLSPEC char* opal_hwloc_base_get_locality_string(hwloc_topology_t topo, char *bitmap); topo 239 opal/mca/hwloc/base/hwloc_base_dt.c hwloc_topology_t topo, hwloc_obj_t obj) topo 269 opal/mca/hwloc/base/hwloc_base_dt.c support = (struct hwloc_topology_support*)hwloc_topology_get_support(topo); topo 288 opal/mca/hwloc/base/hwloc_base_dt.c print_hwloc_obj(&tmp2, pfx, topo, obj2); topo 72 opal/mca/hwloc/base/hwloc_base_util.c hwloc_obj_t opal_hwloc_base_get_pu(hwloc_topology_t topo, topo 92 opal/mca/hwloc/base/hwloc_base_util.c if (opal_hwloc_use_hwthreads_as_cpus || (NULL == hwloc_get_obj_by_type(topo, HWLOC_OBJ_CORE, 0))) { topo 101 opal/mca/hwloc/base/hwloc_base_util.c obj = hwloc_get_pu_obj_by_os_index(topo, lid); topo 117 opal/mca/hwloc/base/hwloc_base_util.c obj = hwloc_get_obj_by_type(topo, obj_type, lid); topo 130 opal/mca/hwloc/base/hwloc_base_util.c int opal_hwloc_base_filter_cpus(hwloc_topology_t topo) topo 139 opal/mca/hwloc/base/hwloc_base_util.c root = hwloc_get_root_obj(topo); topo 177 opal/mca/hwloc/base/hwloc_base_util.c if (NULL != (pu = opal_hwloc_base_get_pu(topo, cpu, OPAL_HWLOC_LOGICAL))) { topo 199 opal/mca/hwloc/base/hwloc_base_util.c if (NULL != (pu = opal_hwloc_base_get_pu(topo, cpu, OPAL_HWLOC_LOGICAL))) { topo 507 opal/mca/hwloc/base/hwloc_base_util.c void opal_hwloc_base_free_topology(hwloc_topology_t topo) topo 514 opal/mca/hwloc/base/hwloc_base_util.c obj = hwloc_get_root_obj(topo); topo 528 opal/mca/hwloc/base/hwloc_base_util.c hwloc_topology_destroy(topo); topo 603 opal/mca/hwloc/base/hwloc_base_util.c unsigned int opal_hwloc_base_get_npus(hwloc_topology_t topo, topo 619 opal/mca/hwloc/base/hwloc_base_util.c cnt = hwloc_get_nbobjs_inside_cpuset_by_type(topo, obj->cpuset, HWLOC_OBJ_CORE); topo 652 opal/mca/hwloc/base/hwloc_base_util.c unsigned int opal_hwloc_base_get_obj_idx(hwloc_topology_t topo, topo 686 opal/mca/hwloc/base/hwloc_base_util.c nobjs = opal_hwloc_base_get_nbobjs_by_type(topo, obj->type, cache_level, rtype); topo 694 opal/mca/hwloc/base/hwloc_base_util.c ptr = opal_hwloc_base_get_obj_by_type(topo, obj->type, cache_level, i, rtype); topo 713 opal/mca/hwloc/base/hwloc_base_util.c static hwloc_obj_t df_search(hwloc_topology_t topo, topo 724 opal/mca/hwloc/base/hwloc_base_util.c search_depth = hwloc_get_type_depth(topo, target); topo 732 opal/mca/hwloc/base/hwloc_base_util.c search_depth = hwloc_get_cache_type_depth(topo, cache_level, (hwloc_obj_cache_type_t) -1); topo 740 opal/mca/hwloc/base/hwloc_base_util.c *num_objs = hwloc_get_nbobjs_by_depth(topo, search_depth); topo 741 opal/mca/hwloc/base/hwloc_base_util.c return hwloc_get_obj_by_depth(topo, search_depth, nobj); topo 759 opal/mca/hwloc/base/hwloc_base_util.c while ((obj = hwloc_get_next_obj_by_depth(topo, search_depth, obj)) != NULL) { topo 773 opal/mca/hwloc/base/hwloc_base_util.c root = hwloc_get_root_obj(topo); topo 786 opal/mca/hwloc/base/hwloc_base_util.c *num_objs = hwloc_get_nbobjs_inside_cpuset_by_depth(topo, constrained_cpuset, search_depth); topo 788 opal/mca/hwloc/base/hwloc_base_util.c while ((obj = hwloc_get_next_obj_inside_cpuset_by_depth(topo, constrained_cpuset, search_depth, obj)) != NULL) { topo 801 opal/mca/hwloc/base/hwloc_base_util.c unsigned int opal_hwloc_base_get_nbobjs_by_type(hwloc_topology_t topo, topo 813 opal/mca/hwloc/base/hwloc_base_util.c if (NULL == topo) { topo 829 opal/mca/hwloc/base/hwloc_base_util.c if (0 > (rc = hwloc_get_nbobjs_by_type(topo, target))) { topo 838 opal/mca/hwloc/base/hwloc_base_util.c obj = hwloc_get_root_obj(topo); topo 860 opal/mca/hwloc/base/hwloc_base_util.c df_search(topo, obj, target, cache_level, 0, rtype, &num_objs); topo 880 opal/mca/hwloc/base/hwloc_base_util.c hwloc_obj_t opal_hwloc_base_get_obj_by_type(hwloc_topology_t topo, topo 889 opal/mca/hwloc/base/hwloc_base_util.c if (NULL == topo) { topo 902 opal/mca/hwloc/base/hwloc_base_util.c return hwloc_get_obj_by_type(topo, target, instance); topo 906 opal/mca/hwloc/base/hwloc_base_util.c obj = hwloc_get_root_obj(topo); topo 907 opal/mca/hwloc/base/hwloc_base_util.c return df_search(topo, obj, target, cache_level, instance, rtype, NULL); topo 910 opal/mca/hwloc/base/hwloc_base_util.c static void df_clear(hwloc_topology_t topo, topo 923 opal/mca/hwloc/base/hwloc_base_util.c df_clear(topo, start->children[k]); topo 927 opal/mca/hwloc/base/hwloc_base_util.c void opal_hwloc_base_clear_usage(hwloc_topology_t topo) topo 933 opal/mca/hwloc/base/hwloc_base_util.c if (NULL == topo) { topo 939 opal/mca/hwloc/base/hwloc_base_util.c root = hwloc_get_root_obj(topo); topo 944 opal/mca/hwloc/base/hwloc_base_util.c df_clear(topo, root->children[k]); topo 954 opal/mca/hwloc/base/hwloc_base_util.c hwloc_topology_t topo, topo 966 opal/mca/hwloc/base/hwloc_base_util.c obj = hwloc_get_root_obj(topo); topo 979 opal/mca/hwloc/base/hwloc_base_util.c obj = opal_hwloc_base_get_obj_by_type(topo, HWLOC_OBJ_SOCKET, 0, socket_id, rtype); topo 989 opal/mca/hwloc/base/hwloc_base_util.c obj = opal_hwloc_base_get_obj_by_type(topo, HWLOC_OBJ_SOCKET, 0, socket_id, rtype); topo 1004 opal/mca/hwloc/base/hwloc_base_util.c hwloc_topology_t topo, topo 1021 opal/mca/hwloc/base/hwloc_base_util.c if (NULL == (socket = opal_hwloc_base_get_obj_by_type(topo, HWLOC_OBJ_SOCKET, 0, topo 1031 opal/mca/hwloc/base/hwloc_base_util.c if (NULL == hwloc_get_obj_by_type(topo, HWLOC_OBJ_CORE, 0)) { topo 1058 opal/mca/hwloc/base/hwloc_base_util.c if (NULL == (core = df_search(topo, socket, obj_type, 0, topo 1080 opal/mca/hwloc/base/hwloc_base_util.c if (NULL == (core = df_search(topo, socket, obj_type, 0, topo 1106 opal/mca/hwloc/base/hwloc_base_util.c hwloc_topology_t topo, topo 1154 opal/mca/hwloc/base/hwloc_base_util.c if (OPAL_SUCCESS != (rc = socket_to_cpu_set(rngs[j], topo, rtype, cpumask))) { topo 1167 opal/mca/hwloc/base/hwloc_base_util.c if (OPAL_SUCCESS != (rc = socket_core_to_cpu_set(rngs[j], topo, rtype, cpumask))) { topo 1177 opal/mca/hwloc/base/hwloc_base_util.c if (OPAL_SUCCESS != (rc = socket_core_to_cpu_set(rngs[j], topo, rtype, cpumask))) { topo 1199 opal/mca/hwloc/base/hwloc_base_util.c if (NULL == (pu = opal_hwloc_base_get_pu(topo, core_id, rtype))) { topo 1217 opal/mca/hwloc/base/hwloc_base_util.c if (NULL == (pu = opal_hwloc_base_get_pu(topo, core_id, rtype))) { topo 1243 opal/mca/hwloc/base/hwloc_base_util.c opal_hwloc_locality_t opal_hwloc_base_get_relative_locality(hwloc_topology_t topo, topo 1266 opal/mca/hwloc/base/hwloc_base_util.c depth = hwloc_topology_get_depth(topo); topo 1278 opal/mca/hwloc/base/hwloc_base_util.c type = hwloc_get_depth_type(topo, d); topo 1294 opal/mca/hwloc/base/hwloc_base_util.c width = hwloc_get_nbobjs_by_depth(topo, d); topo 1301 opal/mca/hwloc/base/hwloc_base_util.c obj = hwloc_get_obj_by_depth(topo, d, w); topo 1375 opal/mca/hwloc/base/hwloc_base_util.c char* opal_hwloc_base_find_coprocessors(hwloc_topology_t topo) topo 1386 opal/mca/hwloc/base/hwloc_base_util.c if (HWLOC_TYPE_DEPTH_UNKNOWN == (depth = hwloc_get_type_depth(topo, HWLOC_OBJ_OS_DEVICE))) { topo 1393 opal/mca/hwloc/base/hwloc_base_util.c osdev = hwloc_get_obj_by_depth(topo, depth, 0); topo 1632 opal/mca/hwloc/base/hwloc_base_util.c hwloc_cpuset_t cpuset, int ***map, hwloc_topology_t topo) topo 1640 opal/mca/hwloc/base/hwloc_base_util.c num_sockets = hwloc_get_nbobjs_by_type(topo, HWLOC_OBJ_SOCKET); topo 1650 opal/mca/hwloc/base/hwloc_base_util.c num_cores = hwloc_get_nbobjs_by_type(topo, HWLOC_OBJ_CORE); topo 1671 opal/mca/hwloc/base/hwloc_base_util.c pu = hwloc_get_obj_inside_cpuset_by_type(topo, topo 1675 opal/mca/hwloc/base/hwloc_base_util.c pu = hwloc_get_obj_inside_cpuset_by_type(topo, topo 1711 opal/mca/hwloc/base/hwloc_base_util.c hwloc_topology_t topo, topo 1731 opal/mca/hwloc/base/hwloc_base_util.c root = hwloc_get_root_obj(topo); topo 1742 opal/mca/hwloc/base/hwloc_base_util.c if (OPAL_SUCCESS != (ret = build_map(&num_sockets, &num_cores, cpuset, &map, topo))) { topo 1781 opal/mca/hwloc/base/hwloc_base_util.c hwloc_topology_t topo, topo 1799 opal/mca/hwloc/base/hwloc_base_util.c root = hwloc_get_root_obj(topo); topo 1811 opal/mca/hwloc/base/hwloc_base_util.c for (socket = hwloc_get_obj_by_type(topo, HWLOC_OBJ_SOCKET, 0); topo 1818 opal/mca/hwloc/base/hwloc_base_util.c for (core = hwloc_get_obj_inside_cpuset_by_type(topo, topo 1822 opal/mca/hwloc/base/hwloc_base_util.c core = hwloc_get_obj_inside_cpuset_by_type(topo, topo 1831 opal/mca/hwloc/base/hwloc_base_util.c for (pu = hwloc_get_obj_inside_cpuset_by_type(topo, topo 1835 opal/mca/hwloc/base/hwloc_base_util.c pu = hwloc_get_obj_inside_cpuset_by_type(topo, topo 1867 opal/mca/hwloc/base/hwloc_base_util.c static void sort_by_dist(hwloc_topology_t topo, char* device_name, opal_list_t *sorted_list) topo 1884 opal/mca/hwloc/base/hwloc_base_util.c for (device_obj = hwloc_get_obj_by_type(topo, HWLOC_OBJ_OS_DEVICE, 0); device_obj; device_obj = hwloc_get_next_osdev(topo, device_obj)) { topo 1913 opal/mca/hwloc/base/hwloc_base_util.c distances = (struct hwloc_distances_s*)hwloc_get_whole_distance_matrix_by_type(topo, HWLOC_OBJ_NODE); topo 1916 opal/mca/hwloc/base/hwloc_base_util.c depth = hwloc_get_type_depth(topo, HWLOC_OBJ_NODE); topo 1922 opal/mca/hwloc/base/hwloc_base_util.c root = hwloc_get_root_obj(topo); topo 1951 opal/mca/hwloc/base/hwloc_base_util.c if (0 != hwloc_distances_get_by_type(topo, HWLOC_OBJ_NODE, &distances_nr, &distances, topo 1965 opal/mca/hwloc/base/hwloc_base_util.c hwloc_distances_release(topo, distances); topo 1975 opal/mca/hwloc/base/hwloc_base_util.c static int find_devices(hwloc_topology_t topo, char** device_name) topo 1979 opal/mca/hwloc/base/hwloc_base_util.c for (device_obj = hwloc_get_obj_by_type(topo, HWLOC_OBJ_OS_DEVICE, 0); device_obj; device_obj = hwloc_get_next_osdev(topo, device_obj)) { topo 1989 opal/mca/hwloc/base/hwloc_base_util.c int opal_hwloc_get_sorted_numa_list(hwloc_topology_t topo, char* device_name, opal_list_t *sorted_list) topo 1997 opal/mca/hwloc/base/hwloc_base_util.c obj = hwloc_get_root_obj(topo); topo 2018 opal/mca/hwloc/base/hwloc_base_util.c count = find_devices(topo, &device_name); topo 2031 opal/mca/hwloc/base/hwloc_base_util.c sort_by_dist(topo, device_name, sorted_list); topo 2050 opal/mca/hwloc/base/hwloc_base_util.c char* opal_hwloc_base_get_topo_signature(hwloc_topology_t topo) topo 2057 opal/mca/hwloc/base/hwloc_base_util.c nnuma = opal_hwloc_base_get_nbobjs_by_type(topo, HWLOC_OBJ_NODE, 0, OPAL_HWLOC_AVAILABLE); topo 2058 opal/mca/hwloc/base/hwloc_base_util.c nsocket = opal_hwloc_base_get_nbobjs_by_type(topo, HWLOC_OBJ_SOCKET, 0, OPAL_HWLOC_AVAILABLE); topo 2059 opal/mca/hwloc/base/hwloc_base_util.c nl3 = opal_hwloc_base_get_nbobjs_by_type(topo, HWLOC_OBJ_L3CACHE, 3, OPAL_HWLOC_AVAILABLE); topo 2060 opal/mca/hwloc/base/hwloc_base_util.c nl2 = opal_hwloc_base_get_nbobjs_by_type(topo, HWLOC_OBJ_L2CACHE, 2, OPAL_HWLOC_AVAILABLE); topo 2061 opal/mca/hwloc/base/hwloc_base_util.c nl1 = opal_hwloc_base_get_nbobjs_by_type(topo, HWLOC_OBJ_L1CACHE, 1, OPAL_HWLOC_AVAILABLE); topo 2062 opal/mca/hwloc/base/hwloc_base_util.c ncore = opal_hwloc_base_get_nbobjs_by_type(topo, HWLOC_OBJ_CORE, 0, OPAL_HWLOC_AVAILABLE); topo 2063 opal/mca/hwloc/base/hwloc_base_util.c nhwt = opal_hwloc_base_get_nbobjs_by_type(topo, HWLOC_OBJ_PU, 0, OPAL_HWLOC_AVAILABLE); topo 2066 opal/mca/hwloc/base/hwloc_base_util.c obj = hwloc_get_root_obj(topo); topo 2092 opal/mca/hwloc/base/hwloc_base_util.c char* opal_hwloc_base_get_locality_string(hwloc_topology_t topo, topo 2119 opal/mca/hwloc/base/hwloc_base_util.c depth = hwloc_topology_get_depth(topo); topo 2124 opal/mca/hwloc/base/hwloc_base_util.c type = hwloc_get_depth_type(topo, d); topo 2141 opal/mca/hwloc/base/hwloc_base_util.c width = hwloc_get_nbobjs_by_depth(topo, d); topo 2151 opal/mca/hwloc/base/hwloc_base_util.c obj = hwloc_get_obj_by_depth(topo, d, w); topo 72 opal/mca/pmix/pmix4x/pmix/src/hwloc/hwloc.c static int set_flags(hwloc_topology_t topo, unsigned int flags) topo 77 opal/mca/pmix/pmix4x/pmix/src/hwloc/hwloc.c int ret = hwloc_topology_set_io_types_filter(topo, HWLOC_TYPE_FILTER_KEEP_IMPORTANT); topo 80 opal/mca/pmix/pmix4x/pmix/src/hwloc/hwloc.c if (0 != hwloc_topology_set_flags(topo, flags)) { topo 501 orte/mca/ess/base/ess_base_std_orted.c t->topo = opal_hwloc_topology; topo 542 orte/mca/ess/hnp/ess_hnp_module.c t->topo = opal_hwloc_topology; topo 824 orte/mca/ess/hnp/ess_hnp_module.c orte_topology_t * topo = (orte_topology_t *)array->addr[i]; topo 825 orte/mca/ess/hnp/ess_hnp_module.c topo->topo = NULL; topo 826 orte/mca/ess/hnp/ess_hnp_module.c OBJ_RELEASE(topo); topo 91 orte/mca/plm/base/plm_base_launch_support.c if (NULL != node->topology && NULL != node->topology->topo) { topo 92 orte/mca/plm/base/plm_base_launch_support.c node->slots = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topo 97 orte/mca/plm/base/plm_base_launch_support.c if (NULL != node->topology && NULL != node->topology->topo) { topo 98 orte/mca/plm/base/plm_base_launch_support.c if (0 == (node->slots = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topo 103 orte/mca/plm/base/plm_base_launch_support.c node->slots = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topo 109 orte/mca/plm/base/plm_base_launch_support.c if (NULL != node->topology && NULL != node->topology->topo) { topo 110 orte/mca/plm/base/plm_base_launch_support.c node->slots = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topo 115 orte/mca/plm/base/plm_base_launch_support.c if (NULL != node->topology && NULL != node->topology->topo) { topo 116 orte/mca/plm/base/plm_base_launch_support.c node->slots = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topo 875 orte/mca/plm/base/plm_base_launch_support.c hwloc_topology_t topo; topo 976 orte/mca/plm/base/plm_base_launch_support.c if (OPAL_SUCCESS != (rc = opal_dss.unpack(data, &topo, &idx, OPAL_HWLOC_TOPO))) { topo 982 orte/mca/plm/base/plm_base_launch_support.c t->topo = topo; topo 1087 orte/mca/plm/base/plm_base_launch_support.c hwloc_topology_t topo; topo 1223 orte/mca/plm/base/plm_base_launch_support.c topo = NULL; topo 1275 orte/mca/plm/base/plm_base_launch_support.c if (OPAL_SUCCESS != (rc = opal_dss.unpack(data, &topo, &idx, OPAL_HWLOC_TOPO))) { topo 1295 orte/mca/plm/base/plm_base_launch_support.c if (NULL != topo) { topo 1296 orte/mca/plm/base/plm_base_launch_support.c hwloc_topology_destroy(topo); topo 1312 orte/mca/plm/base/plm_base_launch_support.c if (NULL != topo) { topo 1313 orte/mca/plm/base/plm_base_launch_support.c hwloc_topology_destroy(topo); topo 1330 orte/mca/plm/base/plm_base_launch_support.c if (NULL != topo) { topo 1331 orte/mca/plm/base/plm_base_launch_support.c t->topo = topo; topo 55 orte/mca/ras/simulator/ras_sim_module.c hwloc_topology_t topo; topo 124 orte/mca/ras/simulator/ras_sim_module.c if (0 != hwloc_topology_init(&topo)) { topo 130 orte/mca/ras/simulator/ras_sim_module.c if (0 != hwloc_topology_set_xml(topo, files[n])) { topo 133 orte/mca/ras/simulator/ras_sim_module.c hwloc_topology_destroy(topo); topo 139 orte/mca/ras/simulator/ras_sim_module.c if (0 != opal_hwloc_base_topology_set_flags(topo, HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM, false)) { topo 143 orte/mca/ras/simulator/ras_sim_module.c hwloc_topology_destroy(topo); topo 146 orte/mca/ras/simulator/ras_sim_module.c if (0 != hwloc_topology_load(topo)) { topo 150 orte/mca/ras/simulator/ras_sim_module.c hwloc_topology_destroy(topo); topo 158 orte/mca/ras/simulator/ras_sim_module.c obj = hwloc_get_root_obj(topo); topo 180 orte/mca/ras/simulator/ras_sim_module.c support = (struct hwloc_topology_support*)hwloc_topology_get_support(topo); topo 184 orte/mca/ras/simulator/ras_sim_module.c if (OPAL_SUCCESS != opal_hwloc_base_filter_cpus(topo)) { topo 189 orte/mca/ras/simulator/ras_sim_module.c t->topo = topo; topo 190 orte/mca/ras/simulator/ras_sim_module.c t->sig = opal_hwloc_base_get_topo_signature(topo); topo 193 orte/mca/ras/simulator/ras_sim_module.c if (0 != hwloc_topology_init(&topo)) { topo 199 orte/mca/ras/simulator/ras_sim_module.c if (0 != hwloc_topology_set_synthetic(topo, topos[n])) { topo 203 orte/mca/ras/simulator/ras_sim_module.c hwloc_topology_destroy(topo); topo 206 orte/mca/ras/simulator/ras_sim_module.c if (0 != hwloc_topology_load(topo)) { topo 210 orte/mca/ras/simulator/ras_sim_module.c hwloc_topology_destroy(topo); topo 218 orte/mca/ras/simulator/ras_sim_module.c obj = hwloc_get_root_obj(topo); topo 240 orte/mca/ras/simulator/ras_sim_module.c support = (struct hwloc_topology_support*)hwloc_topology_get_support(topo); topo 245 orte/mca/ras/simulator/ras_sim_module.c t->topo = topo; topo 246 orte/mca/ras/simulator/ras_sim_module.c t->sig = opal_hwloc_base_get_topo_signature(topo); topo 258 orte/mca/ras/simulator/ras_sim_module.c obj = hwloc_get_root_obj(t->topo); topo 259 orte/mca/ras/simulator/ras_sim_module.c node->slots_max = opal_hwloc_base_get_npus(t->topo, obj); topo 264 orte/mca/ras/simulator/ras_sim_module.c obj = hwloc_get_root_obj(t->topo); topo 265 orte/mca/ras/simulator/ras_sim_module.c node->slots = opal_hwloc_base_get_npus(t->topo, obj); topo 121 orte/mca/rmaps/base/base.h ORTE_DECLSPEC int orte_rmaps_base_prep_topology(hwloc_topology_t topo); topo 71 orte/mca/rmaps/base/rmaps_base_binding.c opal_hwloc_base_clear_usage(node->topology->topo); topo 171 orte/mca/rmaps/base/rmaps_base_binding.c while (NULL != (tmp_obj = hwloc_get_next_obj_by_depth(node->topology->topo, target_depth, tmp_obj))) { topo 174 orte/mca/rmaps/base/rmaps_base_binding.c root = hwloc_get_root_obj(node->topology->topo); topo 217 orte/mca/rmaps/base/rmaps_base_binding.c ncpus = opal_hwloc_base_get_npus(node->topology->topo, trg_obj); topo 269 orte/mca/rmaps/base/rmaps_base_binding.c node->topology->topo, totalcpuset)) { topo 275 orte/mca/rmaps/base/rmaps_base_binding.c rc = opal_hwloc_base_cset2mapstr(tmp2, sizeof(tmp2), node->topology->topo, totalcpuset); topo 329 orte/mca/rmaps/base/rmaps_base_binding.c support = (struct hwloc_topology_support*)hwloc_topology_get_support(node->topology->topo); topo 372 orte/mca/rmaps/base/rmaps_base_binding.c HWLOC_TYPE_DEPTH_UNKNOWN == hwloc_get_type_depth(node->topology->topo, HWLOC_OBJ_CORE)) { topo 401 orte/mca/rmaps/base/rmaps_base_binding.c if (UINT_MAX == (idx = opal_hwloc_base_get_obj_idx(node->topology->topo, locale, OPAL_HWLOC_AVAILABLE))) { topo 406 orte/mca/rmaps/base/rmaps_base_binding.c if (0 == (ncpus = opal_hwloc_base_get_npus(node->topology->topo, locale))) { topo 425 orte/mca/rmaps/base/rmaps_base_binding.c ncpus = opal_hwloc_base_get_npus(node->topology->topo, sib); topo 444 orte/mca/rmaps/base/rmaps_base_binding.c ncpus = opal_hwloc_base_get_npus(node->topology->topo, sib); topo 543 orte/mca/rmaps/base/rmaps_base_binding.c support = (struct hwloc_topology_support*)hwloc_topology_get_support(node->topology->topo); topo 578 orte/mca/rmaps/base/rmaps_base_binding.c root = hwloc_get_root_obj(node->topology->topo); topo 777 orte/mca/rmaps/base/rmaps_base_binding.c support = (struct hwloc_topology_support*)hwloc_topology_get_support(node->topology->topo); topo 820 orte/mca/rmaps/base/rmaps_base_binding.c HWLOC_TYPE_DEPTH_UNKNOWN == hwloc_get_type_depth(node->topology->topo, HWLOC_OBJ_CORE)) { topo 839 orte/mca/rmaps/base/rmaps_base_binding.c bind_depth = hwloc_get_cache_type_depth(node->topology->topo, clvl, (hwloc_obj_cache_type_t)-1); topo 842 orte/mca/rmaps/base/rmaps_base_binding.c bind_depth = hwloc_get_type_depth(node->topology->topo, hwb); topo 114 orte/mca/rmaps/base/rmaps_base_map_job.c slots += ppx * opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topo 534 orte/mca/rmaps/base/rmaps_base_map_job.c if (OPAL_ERR_NOT_BOUND == opal_hwloc_base_cset2mapstr(tmp1, sizeof(tmp1), node->topology->topo, bd->cpuset)) { topo 564 orte/mca/rmaps/base/rmaps_base_map_job.c locality = opal_hwloc_base_get_relative_locality(node->topology->topo, topo 102 orte/mca/rmaps/base/rmaps_base_ranking.c num_objs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, topo 113 orte/mca/rmaps/base/rmaps_base_ranking.c obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, target, topo 223 orte/mca/rmaps/base/rmaps_base_ranking.c num_objs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, topo 234 orte/mca/rmaps/base/rmaps_base_ranking.c obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, target, topo 354 orte/mca/rmaps/base/rmaps_base_ranking.c num_objs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, topo 365 orte/mca/rmaps/base/rmaps_base_ranking.c obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, target, topo 239 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (NULL == node->topology || NULL == node->topology->topo) { topo 248 orte/mca/rmaps/mindist/rmaps_mindist_module.c obj = hwloc_get_root_obj(node->topology->topo); topo 260 orte/mca/rmaps/mindist/rmaps_mindist_module.c total_npus = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_PU, 0, OPAL_HWLOC_AVAILABLE); topo 262 orte/mca/rmaps/mindist/rmaps_mindist_module.c total_npus = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_CORE, 0, OPAL_HWLOC_AVAILABLE); topo 336 orte/mca/rmaps/mindist/rmaps_mindist_module.c opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_NODE, 0, OPAL_HWLOC_AVAILABLE); topo 338 orte/mca/rmaps/mindist/rmaps_mindist_module.c ret = opal_hwloc_get_sorted_numa_list(node->topology->topo, orte_rmaps_base.device, &numa_list); topo 357 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (NULL == (obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, HWLOC_OBJ_NODE, 0, numa->index, OPAL_HWLOC_AVAILABLE))) { topo 361 orte/mca/rmaps/mindist/rmaps_mindist_module.c npus = opal_hwloc_base_get_npus(node->topology->topo, obj); topo 393 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (hwloc_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_SOCKET) > 1) { topo 480 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (NULL == node->topology || NULL == node->topology->topo) { topo 488 orte/mca/rmaps/mindist/rmaps_mindist_module.c opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_NODE, 0, OPAL_HWLOC_AVAILABLE); topo 490 orte/mca/rmaps/mindist/rmaps_mindist_module.c rc = opal_hwloc_get_sorted_numa_list(node->topology->topo, orte_rmaps_base.device, &numa_list); topo 507 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (NULL == (obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, HWLOC_OBJ_NODE, 0, numa->index, OPAL_HWLOC_AVAILABLE))) { topo 512 orte/mca/rmaps/mindist/rmaps_mindist_module.c npus = opal_hwloc_base_get_npus(node->topology->topo, obj); topo 270 orte/mca/rmaps/ppr/rmaps_ppr.c if (NULL == node->topology || NULL == node->topology->topo) { topo 287 orte/mca/rmaps/ppr/rmaps_ppr.c obj = hwloc_get_root_obj(node->topology->topo); topo 298 orte/mca/rmaps/ppr/rmaps_ppr.c nobjs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topo 306 orte/mca/rmaps/ppr/rmaps_ppr.c obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, topo 415 orte/mca/rmaps/ppr/rmaps_ppr.c static hwloc_obj_t find_split(hwloc_topology_t topo, hwloc_obj_t obj) topo 424 orte/mca/rmaps/ppr/rmaps_ppr.c nxt = find_split(topo, obj->children[k]); topo 485 orte/mca/rmaps/ppr/rmaps_ppr.c nobjs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topo 493 orte/mca/rmaps/ppr/rmaps_ppr.c obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, topo 542 orte/mca/rmaps/ppr/rmaps_ppr.c top = find_split(node->topology->topo, obj); topo 689 orte/mca/rmaps/ppr/rmaps_ppr.c if (NULL == node->topology || NULL == node->topology->topo) { topo 695 orte/mca/rmaps/ppr/rmaps_ppr.c obj = hwloc_get_root_obj(node->topology->topo); topo 707 orte/mca/rmaps/ppr/rmaps_ppr.c nobjs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topo 716 orte/mca/rmaps/ppr/rmaps_ppr.c obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, topo 322 orte/mca/rmaps/rank_file/rmaps_rank_file.c if (NULL == node->topology || NULL == node->topology->topo) { topo 332 orte/mca/rmaps/rank_file/rmaps_rank_file.c if (ORTE_SUCCESS != (rc = opal_hwloc_base_cpu_list_parse(slots, node->topology->topo, rtype, bitmap))) { topo 60 orte/mca/rmaps/round_robin/rmaps_rr_assign.c if (NULL == node->topology || NULL == node->topology->topo) { topo 64 orte/mca/rmaps/round_robin/rmaps_rr_assign.c obj = hwloc_get_root_obj(node->topology->topo); topo 115 orte/mca/rmaps/round_robin/rmaps_rr_assign.c if (NULL == node->topology || NULL == node->topology->topo) { topo 121 orte/mca/rmaps/round_robin/rmaps_rr_assign.c nobjs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, cache_level, OPAL_HWLOC_AVAILABLE); topo 155 orte/mca/rmaps/round_robin/rmaps_rr_assign.c if (NULL == (obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, target, cache_level, (j + start) % nobjs, OPAL_HWLOC_AVAILABLE))) { topo 159 orte/mca/rmaps/round_robin/rmaps_rr_assign.c if (orte_rmaps_base.cpus_per_rank > (int)opal_hwloc_base_get_npus(node->topology->topo, obj)) { topo 161 orte/mca/rmaps/round_robin/rmaps_rr_assign.c orte_rmaps_base.cpus_per_rank, opal_hwloc_base_get_npus(node->topology->topo, obj), topo 79 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL != node->topology && NULL != node->topology->topo) { topo 80 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c obj = hwloc_get_root_obj(node->topology->topo); topo 98 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c num_procs_to_assign = orte_rmaps_base_n_persocket * opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_PACKAGE, 0, OPAL_HWLOC_AVAILABLE); topo 156 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL != node->topology && NULL != node->topology->topo) { topo 157 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c obj = hwloc_get_root_obj(node->topology->topo); topo 305 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL != node->topology && NULL != node->topology->topo) { topo 306 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c obj = hwloc_get_root_obj(node->topology->topo); topo 320 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c num_procs_to_assign = orte_rmaps_base_n_persocket * opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_PACKAGE, 0, OPAL_HWLOC_AVAILABLE); topo 422 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL != node->topology && NULL != node->topology->topo) { topo 423 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c obj = hwloc_get_root_obj(node->topology->topo); topo 526 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == node->topology || NULL == node->topology->topo) { topo 533 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c nobjs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, cache_level, OPAL_HWLOC_AVAILABLE); topo 555 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c nprocs = orte_rmaps_base_n_persocket * opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_PACKAGE, 0, OPAL_HWLOC_AVAILABLE); topo 592 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == (obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, target, cache_level, (i+start) % nobjs, OPAL_HWLOC_AVAILABLE))) { topo 596 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (orte_rmaps_base.cpus_per_rank > (int)opal_hwloc_base_get_npus(node->topology->topo, obj)) { topo 598 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c orte_rmaps_base.cpus_per_rank, opal_hwloc_base_get_npus(node->topology->topo, obj), topo 690 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == node->topology || NULL == node->topology->topo) { topo 696 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c nobjs += opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, cache_level, OPAL_HWLOC_AVAILABLE); topo 732 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c nobjs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, cache_level, OPAL_HWLOC_AVAILABLE); topo 738 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == (obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, target, cache_level, i, OPAL_HWLOC_AVAILABLE))) { topo 742 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (orte_rmaps_base.cpus_per_rank > (int)opal_hwloc_base_get_npus(node->topology->topo, obj)) { topo 744 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c orte_rmaps_base.cpus_per_rank, opal_hwloc_base_get_npus(node->topology->topo, obj), topo 757 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c nprocs = orte_rmaps_base_n_persocket * opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_PACKAGE, 0, OPAL_HWLOC_AVAILABLE); topo 445 orte/mca/rmaps/seq/rmaps_seq.c if (NULL == node->topology || NULL == node->topology->topo) { topo 463 orte/mca/rmaps/seq/rmaps_seq.c if (ORTE_SUCCESS != (rc = opal_hwloc_base_cpu_list_parse(sq->cpuset, node->topology->topo, rtype, bitmap))) { topo 493 orte/mca/rmaps/seq/rmaps_seq.c if (NULL != node->topology && NULL != node->topology->topo) { topo 494 orte/mca/rmaps/seq/rmaps_seq.c locale = hwloc_get_root_obj(node->topology->topo); topo 477 orte/runtime/data_type_support/orte_dt_print_fns.c NULL != src->node->topology && NULL != src->node->topology->topo) { topo 480 orte/runtime/data_type_support/orte_dt_print_fns.c if (OPAL_ERR_NOT_BOUND == opal_hwloc_base_cset2str(tmp1, sizeof(tmp1), src->node->topology->topo, mycpus)) { topo 483 orte/runtime/data_type_support/orte_dt_print_fns.c opal_hwloc_base_cset2mapstr(tmp2, sizeof(tmp2), src->node->topology->topo, mycpus); topo 518 orte/runtime/data_type_support/orte_dt_print_fns.c if (OPAL_ERR_NOT_BOUND == opal_hwloc_base_cset2mapstr(locale, sizeof(locale), src->node->topology->topo, loc->cpuset)) { topo 528 orte/runtime/data_type_support/orte_dt_print_fns.c NULL != src->node->topology && NULL != src->node->topology->topo) { topo 531 orte/runtime/data_type_support/orte_dt_print_fns.c opal_hwloc_base_cset2mapstr(tmp2, sizeof(tmp2), src->node->topology->topo, mycpus); topo 897 orte/runtime/orte_globals.c t->topo = NULL; topo 902 orte/runtime/orte_globals.c if (NULL != t->topo) { topo 903 orte/runtime/orte_globals.c opal_hwloc_base_free_topology(t->topo); topo 220 orte/runtime/orte_globals.h hwloc_topology_t topo; topo 73 orte/test/system/threads.c static hwloc_topology_t topo; topo 157 orte/test/system/threads.c hwloc_topology_init(&topo); topo 158 orte/test/system/threads.c hwloc_topology_load(topo); topo 256 orte/test/system/threads.c hwloc_topology_destroy(topo); topo 312 orte/test/system/threads.c num_objs = hwloc_get_nbobjs_by_type(topo, OBJ_TYPE); topo 315 orte/test/system/threads.c obj = hwloc_get_obj_by_type(topo, OBJ_TYPE, 0); topo 318 orte/test/system/threads.c obj = hwloc_get_obj_by_type(topo, OBJ_TYPE, num_objs-1); topo 322 orte/test/system/threads.c hwloc_set_cpubind(topo, obj->cpuset, HWLOC_CPUBIND_THREAD); topo 330 orte/test/system/threads.c hwloc_get_cpubind(topo, set, HWLOC_CPUBIND_THREAD); topo 506 orte/util/nidmap.c if (ORTE_SUCCESS != (rc = opal_dss.pack(&bucket, &t->topo, 1, OPAL_HWLOC_TOPO))) { topo 748 orte/util/nidmap.c hwloc_topology_t topo; topo 822 orte/util/nidmap.c if (ORTE_SUCCESS != (rc = opal_dss.unpack(&bucket, &topo, &cnt, OPAL_HWLOC_TOPO))) { topo 830 orte/util/nidmap.c t2->topo = topo;