OpenMPI  0.1.1
rmaps_types.h File Reference
#include "orte_config.h"
#include "orte/constants.h"
#include "opal/class/opal_pointer_array.h"
#include "opal/mca/hwloc/hwloc.h"
#include "orte/runtime/orte_globals.h"

Go to the source code of this file.

Data Structures

struct  orte_job_map_t
 

Macros

#define ORTE_MAPPING_POLICY   OPAL_UINT16
 
#define ORTE_RANKING_POLICY   OPAL_UINT16
 
#define ORTE_RMAPS_BASE_VERSION_2_0_0
 Macro for use in components that are of type rmaps. More...
 
#define ORTE_MAPPING_NO_USE_LOCAL   0x0100
 
#define ORTE_MAPPING_NO_OVERSUBSCRIBE   0x0200
 
#define ORTE_MAPPING_SUBSCRIBE_GIVEN   0x0400
 
#define ORTE_MAPPING_SPAN   0x0800
 
#define ORTE_MAPPING_PPR   0x1000
 
#define ORTE_MAPPING_CONFLICTED   0x2000
 
#define ORTE_MAPPING_GIVEN   0x4000
 
#define ORTE_SET_MAPPING_DIRECTIVE(target, pol)   (target) |= (pol)
 
#define ORTE_UNSET_MAPPING_DIRECTIVE(target, pol)   (target) &= ~(pol)
 
#define ORTE_GET_MAPPING_DIRECTIVE(pol)   ((pol) & 0xff00)
 
#define ORTE_MAPPING_BYSLOT   1
 
#define ORTE_MAPPING_BYNODE   2
 
#define ORTE_MAPPING_BYBOARD   3
 
#define ORTE_MAPPING_BYNUMA   4
 
#define ORTE_MAPPING_BYSOCKET   5
 
#define ORTE_MAPPING_BYL3CACHE   6
 
#define ORTE_MAPPING_BYL2CACHE   7
 
#define ORTE_MAPPING_BYL1CACHE   8
 
#define ORTE_MAPPING_BYCORE   9
 
#define ORTE_MAPPING_BYHWTHREAD   10
 
#define ORTE_MAPPING_RR   0x000f
 
#define ORTE_MAPPING_SEQ   20
 
#define ORTE_MAPPING_BYUSER   22
 
#define ORTE_GET_MAPPING_POLICY(pol)   ((pol) & 0x00ff)
 
#define ORTE_MAPPING_POLICY_IS_SET(pol)   ((pol) & 0x00ff)
 
#define ORTE_SET_MAPPING_POLICY(target, pol)   (target) = (pol) | ((target) & 0xff00)
 
#define ORTE_RANKING_SPAN   0x1000
 
#define ORTE_RANKING_FILL   0x2000
 
#define ORTE_RANKING_GIVEN   0x4000
 
#define ORTE_SET_RANKING_DIRECTIVE(target, pol)   (target) |= (pol)
 
#define ORTE_UNSET_RANKING_DIRECTIVE(target, pol)   (target) &= ~(pol)
 
#define ORTE_GET_RANKING_DIRECTIVE(pol)   ((pol) & 0xf000)
 
#define ORTE_RANK_BY_NODE   1
 
#define ORTE_RANK_BY_BOARD   2
 
#define ORTE_RANK_BY_NUMA   3
 
#define ORTE_RANK_BY_SOCKET   4
 
#define ORTE_RANK_BY_L3CACHE   5
 
#define ORTE_RANK_BY_L2CACHE   6
 
#define ORTE_RANK_BY_L1CACHE   7
 
#define ORTE_RANK_BY_CORE   8
 
#define ORTE_RANK_BY_HWTHREAD   9
 
#define ORTE_RANK_BY_SLOT   10
 
#define ORTE_GET_RANKING_POLICY(pol)   ((pol) & 0x0fff)
 
#define ORTE_RANKING_POLICY_IS_SET(pol)   ((pol) & 0x0fff)
 
#define ORTE_SET_RANKING_POLICY(target, pol)   (target) = (pol) | ((target) & 0xf000)
 

Typedefs

typedef uint16_t orte_ranking_policy_t
 
typedef struct orte_job_map_t orte_job_map_t
 

Functions

ORTE_DECLSPEC OBJ_CLASS_DECLARATION (orte_job_map_t)
 

Variables

BEGIN_C_DECLS typedef uint16_t orte_mapping_policy_t
 

Macro Definition Documentation

#define ORTE_RMAPS_BASE_VERSION_2_0_0
Value:
MCA_BASE_VERSION_2_0_0, \
"rmaps", 2, 0, 0

Macro for use in components that are of type rmaps.