1
1

Name the enum so that it represents as an actual symbol in gdb, instead of just a number.

This commit was SVN r24472.
Этот коммит содержится в:
Josh Hursey 2011-03-01 21:00:03 +00:00
родитель 7c737b9274
Коммит 62bba1bf12
2 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -59,7 +59,7 @@ typedef struct {
/* list of selected modules */
opal_list_t selected_modules;
/* desired default mapper */
int default_mapper;
orte_rmaps_mapper_type_t default_mapper;
/** whether or not we allow oversubscription of nodes */
bool oversubscribe;
/** number of ppn for n_per_node mode */

Просмотреть файл

@ -34,7 +34,7 @@
BEGIN_C_DECLS
/* enumerate selectable mappers */
enum {
enum orte_rmaps_mapper_type_t {
ORTE_RMAPS_UNDEF,
ORTE_RMAPS_RR,
ORTE_RMAPS_LOADBALANCE,
@ -42,6 +42,7 @@ enum {
ORTE_RMAPS_RF,
ORTE_RMAPS_RESILIENT
};
typedef enum orte_rmaps_mapper_type_t orte_rmaps_mapper_type_t;
/*
* Structure that represents the mapping of a job to an
@ -50,7 +51,7 @@ enum {
struct orte_job_map_t {
opal_object_t super;
/* user-specified mapping params */
int32_t mapper;
orte_rmaps_mapper_type_t mapper;
orte_mapping_policy_t policy;
int npernode;
int nperboard;