root/orte/mca/rmaps/round_robin/rmaps_rr.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
   3  *                         University Research and Technology
   4  *                         Corporation.  All rights reserved.
   5  * Copyright (c) 2004-2006 The University of Tennessee and The University
   6  *                         of Tennessee Research Foundation.  All rights
   7  *                         reserved.
   8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
   9  *                         University of Stuttgart.  All rights reserved.
  10  * Copyright (c) 2004-2005 The Regents of the University of California.
  11  *                         All rights reserved.
  12  * Copyright (c) 2015-2017 Intel, Inc. All rights reserved.
  13  * Copyright (c) 2017      Cisco Systems, Inc.  All rights reserved
  14  * $COPYRIGHT$
  15  *
  16  * Additional copyrights may follow
  17  *
  18  * $HEADER$
  19  */
  20 /**
  21  * @file
  22  *
  23  * Resource Mapping
  24  */
  25 #ifndef ORTE_RMAPS_RR_H
  26 #define ORTE_RMAPS_RR_H
  27 
  28 #include "orte_config.h"
  29 
  30 #include "opal/mca/hwloc/hwloc-internal.h"
  31 #include "opal/class/opal_list.h"
  32 
  33 #include "orte/mca/rmaps/rmaps.h"
  34 
  35 BEGIN_C_DECLS
  36 
  37 ORTE_MODULE_DECLSPEC extern orte_rmaps_base_component_t mca_rmaps_round_robin_component;
  38 extern orte_rmaps_base_module_t orte_rmaps_round_robin_module;
  39 
  40 ORTE_MODULE_DECLSPEC int orte_rmaps_rr_bynode(orte_job_t *jdata,
  41                                               orte_app_context_t *app,
  42                                               opal_list_t *node_list,
  43                                               orte_std_cntr_t num_slots,
  44                                               orte_vpid_t nprocs);
  45 ORTE_MODULE_DECLSPEC int orte_rmaps_rr_byslot(orte_job_t *jdata,
  46                                               orte_app_context_t *app,
  47                                               opal_list_t *node_list,
  48                                               orte_std_cntr_t num_slots,
  49                                               orte_vpid_t nprocs);
  50 
  51 ORTE_MODULE_DECLSPEC int orte_rmaps_rr_byobj(orte_job_t *jdata, orte_app_context_t *app,
  52                                              opal_list_t *node_list,
  53                                              orte_std_cntr_t num_slots,
  54                                              orte_vpid_t num_procs,
  55                                              hwloc_obj_type_t target, unsigned cache_level);
  56 
  57 ORTE_MODULE_DECLSPEC int orte_rmaps_rr_assign_root_level(orte_job_t *jdata);
  58 
  59 ORTE_MODULE_DECLSPEC int orte_rmaps_rr_assign_byobj(orte_job_t *jdata,
  60                                                     hwloc_obj_type_t target,
  61                                                     unsigned cache_level);
  62 
  63 
  64 END_C_DECLS
  65 
  66 #endif

/* [<][>][^][v][top][bottom][index][help] */