Since we allow the following keys:
cpu count slots We should allow *max* versions of all of those, rather than just slots-max (and its variations). This commit was SVN r5889.
Этот коммит содержится в:
родитель
843cd2dbac
Коммит
9c2554d8ce
@ -55,6 +55,7 @@ count { orte_rds_hostfile_value.sval = yytext;
|
|||||||
return ORTE_RDS_HOSTFILE_COUNT; }
|
return ORTE_RDS_HOSTFILE_COUNT; }
|
||||||
slots { orte_rds_hostfile_value.sval = yytext;
|
slots { orte_rds_hostfile_value.sval = yytext;
|
||||||
return ORTE_RDS_HOSTFILE_SLOTS; }
|
return ORTE_RDS_HOSTFILE_SLOTS; }
|
||||||
|
|
||||||
"slots-max" { orte_rds_hostfile_value.sval = yytext;
|
"slots-max" { orte_rds_hostfile_value.sval = yytext;
|
||||||
return ORTE_RDS_HOSTFILE_SLOTS_MAX; }
|
return ORTE_RDS_HOSTFILE_SLOTS_MAX; }
|
||||||
slots_max { orte_rds_hostfile_value.sval = yytext;
|
slots_max { orte_rds_hostfile_value.sval = yytext;
|
||||||
@ -63,6 +64,22 @@ slots_max { orte_rds_hostfile_value.sval = yytext;
|
|||||||
return ORTE_RDS_HOSTFILE_SLOTS_MAX; }
|
return ORTE_RDS_HOSTFILE_SLOTS_MAX; }
|
||||||
max_slots { orte_rds_hostfile_value.sval = yytext;
|
max_slots { orte_rds_hostfile_value.sval = yytext;
|
||||||
return ORTE_RDS_HOSTFILE_SLOTS_MAX; }
|
return ORTE_RDS_HOSTFILE_SLOTS_MAX; }
|
||||||
|
"cpu-max" { orte_rds_hostfile_value.sval = yytext;
|
||||||
|
return ORTE_RDS_HOSTFILE_SLOTS_MAX; }
|
||||||
|
cpu_max { orte_rds_hostfile_value.sval = yytext;
|
||||||
|
return ORTE_RDS_HOSTFILE_SLOTS_MAX; }
|
||||||
|
"max-cpu" { orte_rds_hostfile_value.sval = yytext;
|
||||||
|
return ORTE_RDS_HOSTFILE_SLOTS_MAX; }
|
||||||
|
max_cpu { orte_rds_hostfile_value.sval = yytext;
|
||||||
|
return ORTE_RDS_HOSTFILE_SLOTS_MAX; }
|
||||||
|
"count-max" { orte_rds_hostfile_value.sval = yytext;
|
||||||
|
return ORTE_RDS_HOSTFILE_SLOTS_MAX; }
|
||||||
|
count_max { orte_rds_hostfile_value.sval = yytext;
|
||||||
|
return ORTE_RDS_HOSTFILE_SLOTS_MAX; }
|
||||||
|
"max-count" { orte_rds_hostfile_value.sval = yytext;
|
||||||
|
return ORTE_RDS_HOSTFILE_SLOTS_MAX; }
|
||||||
|
max_count { orte_rds_hostfile_value.sval = yytext;
|
||||||
|
return ORTE_RDS_HOSTFILE_SLOTS_MAX; }
|
||||||
|
|
||||||
[0-9]+ { orte_rds_hostfile_value.ival = atol(yytext);
|
[0-9]+ { orte_rds_hostfile_value.ival = atol(yytext);
|
||||||
return ORTE_RDS_HOSTFILE_INT; }
|
return ORTE_RDS_HOSTFILE_INT; }
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user