root/orte/mca/rtc/hwloc/rtc_hwloc.h

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

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
   3  * Copyright (c) 2017      Inria.  All rights reserved.
   4  * $COPYRIGHT$
   5  *
   6  * Additional copyrights may follow
   7  *
   8  * $HEADER$
   9  */
  10 /**
  11  * @file
  12  */
  13 #ifndef ORTE_RTC_HWLOC_H
  14 #define ORTE_RTC_HWLOC_H
  15 
  16 #include "orte_config.h"
  17 
  18 #include "orte/mca/rtc/rtc.h"
  19 
  20 BEGIN_C_DECLS
  21 
  22 typedef enum {
  23     VM_HOLE_NONE = -1,
  24     VM_HOLE_BEGIN = 0,        /* use hole at the very beginning */
  25     VM_HOLE_AFTER_HEAP = 1,   /* use hole right after heap */
  26     VM_HOLE_BEFORE_STACK = 2, /* use hole right before stack */
  27     VM_HOLE_BIGGEST = 3,      /* use biggest hole */
  28     VM_HOLE_IN_LIBS = 4,      /* use biggest hole between heap and stack */
  29     VM_HOLE_CUSTOM = 5,       /* use given address if available */
  30 } orte_rtc_hwloc_vm_hole_kind_t;
  31 
  32 typedef enum {
  33     VM_MAP_FILE = 0,
  34     VM_MAP_ANONYMOUS = 1,
  35     VM_MAP_HEAP = 2,
  36     VM_MAP_STACK = 3,
  37     VM_MAP_OTHER = 4 /* vsyscall/vdso/vvar shouldn't occur since we stop after stack */
  38 } orte_rtc_hwloc_vm_map_kind_t;
  39 
  40 typedef struct {
  41     orte_rtc_base_component_t super;
  42     orte_rtc_hwloc_vm_hole_kind_t kind;
  43 } orte_rtc_hwloc_component_t;
  44 
  45 ORTE_MODULE_DECLSPEC extern orte_rtc_hwloc_component_t mca_rtc_hwloc_component;
  46 
  47 extern orte_rtc_base_module_t orte_rtc_hwloc_module;
  48 
  49 
  50 END_C_DECLS
  51 
  52 #endif /* ORTE_RTC_HWLOC_H */

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