File indexing completed on 2025-02-23 10:12:57
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 #ifndef PRTE_MCA_RMAPS_PRIVATE_H
0027 #define PRTE_MCA_RMAPS_PRIVATE_H
0028
0029
0030
0031
0032 #include "prte_config.h"
0033 #include "types.h"
0034
0035 #include "src/hwloc/hwloc-internal.h"
0036 #include "src/runtime/prte_globals.h"
0037
0038 #include "src/mca/schizo/schizo.h"
0039 #include "src/mca/rmaps/rmaps.h"
0040
0041 BEGIN_C_DECLS
0042
0043
0044
0045
0046
0047
0048
0049 PRTE_EXPORT int prte_rmaps_base_get_target_nodes(pmix_list_t *node_list, int32_t *total_num_slots,
0050 prte_job_t *jdata, prte_app_context_t *app,
0051 prte_mapping_policy_t policy, bool initial_map,
0052 bool silent);
0053
0054 PRTE_EXPORT prte_proc_t *prte_rmaps_base_setup_proc(prte_job_t *jdata,
0055 prte_app_idx_t idx,
0056 prte_node_t *node,
0057 hwloc_obj_t obj,
0058 prte_rmaps_options_t *options);
0059
0060 PRTE_EXPORT void prte_rmaps_base_get_starting_point(pmix_list_t *node_list,
0061 prte_job_t *jdata);
0062
0063
0064 PRTE_EXPORT int prte_rmaps_base_compute_vpids(prte_job_t *jdata,
0065 prte_rmaps_options_t *options);
0066
0067 PRTE_EXPORT int prte_rmaps_base_bind_proc(prte_job_t *jdata,
0068 prte_proc_t *proc,
0069 prte_node_t *node,
0070 hwloc_obj_t obj,
0071 prte_rmaps_options_t *options);
0072
0073 PRTE_EXPORT void prte_rmaps_base_update_local_ranks(prte_job_t *jdata, prte_node_t *oldnode,
0074 prte_node_t *newnode, prte_proc_t *newproc);
0075
0076 END_C_DECLS
0077
0078 #endif