Skip to content

Commit 06f605c

Browse files
committed
coll/tuned: add hint about dynamic rules to mca parameters
The mca parameters coll_tuned_*_algorithm are ignored unless coll_tuned_use_dynamic_rules is true so mention that in the description. Signed-off-by: Joseph Schuchart <[email protected]>
1 parent 62a76c9 commit 06f605c

14 files changed

+28
-14
lines changed

ompi/mca/coll/tuned/coll_tuned_allgather_decision.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ ompi_coll_tuned_allgather_intra_check_forced_init(coll_tuned_force_algorithm_mca
7777
mca_param_indices->algorithm_param_index =
7878
mca_base_component_var_register(&mca_coll_tuned_component.super.collm_version,
7979
"allgather_algorithm",
80-
"Which allallgather algorithm is used. Can be locked down to choice of: 0 ignore, 1 basic linear, 2 bruck, 3 recursive doubling, 4 ring, 5 neighbor exchange, 6: two proc only.",
80+
"Which allallgather algorithm is used. Can be locked down to choice of: 0 ignore, 1 basic linear, 2 bruck, 3 recursive doubling, 4 ring, 5 neighbor exchange, 6: two proc only. "
81+
"Only relevant if coll_tuned_use_dynamic_rules is true.",
8182
MCA_BASE_VAR_TYPE_INT, new_enum, 0, MCA_BASE_VAR_FLAG_SETTABLE,
8283
OPAL_INFO_LVL_5,
8384
MCA_BASE_VAR_SCOPE_ALL,

ompi/mca/coll/tuned/coll_tuned_allgatherv_decision.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ ompi_coll_tuned_allgatherv_intra_check_forced_init(coll_tuned_force_algorithm_mc
7676
mca_param_indices->algorithm_param_index =
7777
mca_base_component_var_register(&mca_coll_tuned_component.super.collm_version,
7878
"allgatherv_algorithm",
79-
"Which allallgatherv algorithm is used. Can be locked down to choice of: 0 ignore, 1 default (allgathervv + bcast), 2 bruck, 3 ring, 4 neighbor exchange, 5: two proc only.",
79+
"Which allallgatherv algorithm is used. Can be locked down to choice of: 0 ignore, 1 default (allgathervv + bcast), 2 bruck, 3 ring, 4 neighbor exchange, 5: two proc only. "
80+
"Only relevant if coll_tuned_use_dynamic_rules is true.",
8081
MCA_BASE_VAR_TYPE_INT, new_enum, 0, MCA_BASE_VAR_FLAG_SETTABLE,
8182
OPAL_INFO_LVL_5,
8283
MCA_BASE_VAR_SCOPE_CONSTANT,

ompi/mca/coll/tuned/coll_tuned_allreduce_decision.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ int ompi_coll_tuned_allreduce_intra_check_forced_init (coll_tuned_force_algorith
7777
mca_param_indices->algorithm_param_index =
7878
mca_base_component_var_register(&mca_coll_tuned_component.super.collm_version,
7979
"allreduce_algorithm",
80-
"Which allreduce algorithm is used. Can be locked down to any of: 0 ignore, 1 basic linear, 2 nonoverlapping (tuned reduce + tuned bcast), 3 recursive doubling, 4 ring, 5 segmented ring",
80+
"Which allreduce algorithm is used. Can be locked down to any of: 0 ignore, 1 basic linear, 2 nonoverlapping (tuned reduce + tuned bcast), 3 recursive doubling, 4 ring, 5 segmented ring. "
81+
"Only relevant if coll_tuned_use_dynamic_rules is true.",
8182
MCA_BASE_VAR_TYPE_INT, new_enum, 0, MCA_BASE_VAR_FLAG_SETTABLE,
8283
OPAL_INFO_LVL_5,
8384
MCA_BASE_VAR_SCOPE_ALL,

ompi/mca/coll/tuned/coll_tuned_alltoall_decision.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ int ompi_coll_tuned_alltoall_intra_check_forced_init (coll_tuned_force_algorithm
7474
mca_param_indices->algorithm_param_index =
7575
mca_base_component_var_register(&mca_coll_tuned_component.super.collm_version,
7676
"alltoall_algorithm",
77-
"Which alltoall algorithm is used. Can be locked down to choice of: 0 ignore, 1 basic linear, 2 pairwise, 3: modified bruck, 4: linear with sync, 5:two proc only.",
77+
"Which alltoall algorithm is used. Can be locked down to choice of: 0 ignore, 1 basic linear, 2 pairwise, 3: modified bruck, 4: linear with sync, 5:two proc only. "
78+
"Only relevant if coll_tuned_use_dynamic_rules is true.",
7879
MCA_BASE_VAR_TYPE_INT, new_enum, 0, MCA_BASE_VAR_FLAG_SETTABLE,
7980
OPAL_INFO_LVL_5,
8081
MCA_BASE_VAR_SCOPE_ALL,

ompi/mca/coll/tuned/coll_tuned_alltoallv_decision.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ int ompi_coll_tuned_alltoallv_intra_check_forced_init(coll_tuned_force_algorithm
7171
"alltoallv_algorithm",
7272
"Which alltoallv algorithm is used. "
7373
"Can be locked down to choice of: 0 ignore, "
74-
"1 basic linear, 2 pairwise.",
74+
"1 basic linear, 2 pairwise. "
75+
"Only relevant if coll_tuned_use_dynamic_rules is true.",
7576
MCA_BASE_VAR_TYPE_INT, new_enum, 0, MCA_BASE_VAR_FLAG_SETTABLE,
7677
OPAL_INFO_LVL_5,
7778
MCA_BASE_VAR_SCOPE_ALL,

ompi/mca/coll/tuned/coll_tuned_barrier_decision.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ int ompi_coll_tuned_barrier_intra_check_forced_init (coll_tuned_force_algorithm_
7272
mca_param_indices->algorithm_param_index =
7373
mca_base_component_var_register(&mca_coll_tuned_component.super.collm_version,
7474
"barrier_algorithm",
75-
"Which barrier algorithm is used. Can be locked down to choice of: 0 ignore, 1 linear, 2 double ring, 3: recursive doubling 4: bruck, 5: two proc only, 6: tree",
75+
"Which barrier algorithm is used. Can be locked down to choice of: 0 ignore, 1 linear, 2 double ring, 3: recursive doubling 4: bruck, 5: two proc only, 6: tree. "
76+
"Only relevant if coll_tuned_use_dynamic_rules is true.",
7677
MCA_BASE_VAR_TYPE_INT, new_enum, 0, MCA_BASE_VAR_FLAG_SETTABLE,
7778
OPAL_INFO_LVL_5,
7879
MCA_BASE_VAR_SCOPE_ALL,

ompi/mca/coll/tuned/coll_tuned_bcast_decision.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ int ompi_coll_tuned_bcast_intra_check_forced_init (coll_tuned_force_algorithm_mc
8080
mca_param_indices->algorithm_param_index =
8181
mca_base_component_var_register(&mca_coll_tuned_component.super.collm_version,
8282
"bcast_algorithm",
83-
"Which bcast algorithm is used. Can be locked down to choice of: 0 ignore, 1 basic linear, 2 chain, 3: pipeline, 4: split binary tree, 5: binary tree, 6: binomial tree, 7: knomial tree, 8: scatter_allgather, 9: scatter_allgather_ring.",
83+
"Which bcast algorithm is used. Can be locked down to choice of: 0 ignore, 1 basic linear, 2 chain, 3: pipeline, 4: split binary tree, 5: binary tree, 6: binomial tree, 7: knomial tree, 8: scatter_allgather, 9: scatter_allgather_ring. "
84+
"Only relevant if coll_tuned_use_dynamic_rules is true.",
8485
MCA_BASE_VAR_TYPE_INT, new_enum, 0, MCA_BASE_VAR_FLAG_SETTABLE,
8586
OPAL_INFO_LVL_5,
8687
MCA_BASE_VAR_SCOPE_ALL,

ompi/mca/coll/tuned/coll_tuned_exscan_decision.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ int ompi_coll_tuned_exscan_intra_check_forced_init (coll_tuned_force_algorithm_m
6868
mca_param_indices->algorithm_param_index =
6969
mca_base_component_var_register(&mca_coll_tuned_component.super.collm_version,
7070
"exscan_algorithm",
71-
"Which exscan algorithm is used. Can be locked down to choice of: 0 ignore, 1 linear, 2 recursive_doubling",
71+
"Which exscan algorithm is used. Can be locked down to choice of: 0 ignore, 1 linear, 2 recursive_doubling. "
72+
"Only relevant if coll_tuned_use_dynamic_rules is true.",
7273
MCA_BASE_VAR_TYPE_INT, new_enum, 0, MCA_BASE_VAR_FLAG_SETTABLE,
7374
OPAL_INFO_LVL_5,
7475
MCA_BASE_VAR_SCOPE_ALL,

ompi/mca/coll/tuned/coll_tuned_gather_decision.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ ompi_coll_tuned_gather_intra_check_forced_init(coll_tuned_force_algorithm_mca_pa
7575
mca_param_indices->algorithm_param_index =
7676
mca_base_component_var_register(&mca_coll_tuned_component.super.collm_version,
7777
"gather_algorithm",
78-
"Which gather algorithm is used. Can be locked down to choice of: 0 ignore, 1 basic linear, 2 binomial, 3 linear with synchronization.",
78+
"Which gather algorithm is used. Can be locked down to choice of: 0 ignore, 1 basic linear, 2 binomial, 3 linear with synchronization. "
79+
"Only relevant if coll_tuned_use_dynamic_rules is true.",
7980
MCA_BASE_VAR_TYPE_INT, new_enum, 0, MCA_BASE_VAR_FLAG_SETTABLE,
8081
OPAL_INFO_LVL_5,
8182
MCA_BASE_VAR_SCOPE_ALL,

ompi/mca/coll/tuned/coll_tuned_reduce_decision.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ int ompi_coll_tuned_reduce_intra_check_forced_init (coll_tuned_force_algorithm_m
8080
mca_param_indices->algorithm_param_index =
8181
mca_base_component_var_register(&mca_coll_tuned_component.super.collm_version,
8282
"reduce_algorithm",
83-
"Which reduce algorithm is used. Can be locked down to choice of: 0 ignore, 1 linear, 2 chain, 3 pipeline, 4 binary, 5 binomial, 6 in-order binary, 7 rabenseifner",
83+
"Which reduce algorithm is used. Can be locked down to choice of: 0 ignore, 1 linear, 2 chain, 3 pipeline, 4 binary, 5 binomial, 6 in-order binary, 7 rabenseifner. "
84+
"Only relevant if coll_tuned_use_dynamic_rules is true.",
8485
MCA_BASE_VAR_TYPE_INT, new_enum, 0, MCA_BASE_VAR_FLAG_SETTABLE,
8586
OPAL_INFO_LVL_5,
8687
MCA_BASE_VAR_SCOPE_ALL,

0 commit comments

Comments
 (0)