|
17 | 17 | * Copyright (c) 2015-2018 Research Organization for Information Science |
18 | 18 | * and Technology (RIST). All rights reserved. |
19 | 19 | * Copyright (c) 2019 Mellanox Technologies. All rights reserved. |
| 20 | + * Copyright (c) 2024 NVIDIA Corporation. All rights reserved. |
20 | 21 | * $COPYRIGHT$ |
21 | 22 | * |
22 | 23 | * Additional copyrights may follow |
@@ -55,14 +56,10 @@ char* ompi_coll_tuned_dynamic_rules_filename = (char*) NULL; |
55 | 56 | int ompi_coll_tuned_init_tree_fanout = 4; |
56 | 57 | int ompi_coll_tuned_init_chain_fanout = 4; |
57 | 58 | int ompi_coll_tuned_init_max_requests = 128; |
58 | | -int ompi_coll_tuned_alltoall_small_msg = 200; |
59 | | -int ompi_coll_tuned_alltoall_intermediate_msg = 3000; |
60 | 59 |
|
61 | 60 | /* Set it to the same value as intermediate msg by default, so it does not affect |
62 | 61 | * default algorithm selection. Changing this value will force using linear with |
63 | 62 | * sync algorithm on certain message sizes. */ |
64 | | -int ompi_coll_tuned_alltoall_large_msg = 3000; |
65 | | -int ompi_coll_tuned_alltoall_min_procs = 0; /* disable by default */ |
66 | 63 | int ompi_coll_tuned_alltoall_max_requests = 0; /* no limit for alltoall by default */ |
67 | 64 |
|
68 | 65 | /* Disable by default */ |
@@ -156,23 +153,22 @@ static int tuned_register(void) |
156 | 153 | MCA_BASE_VAR_SCOPE_READONLY, |
157 | 154 | &ompi_coll_tuned_init_chain_fanout); |
158 | 155 |
|
159 | | - ompi_coll_tuned_alltoall_small_msg = 200; |
| 156 | + int deprecated_mca_params = -1; |
160 | 157 | (void) mca_base_component_var_register(&mca_coll_tuned_component.super.collm_version, |
161 | 158 | "alltoall_small_msg", |
162 | 159 | "threshold (if supported) to decide if small MSGs alltoall algorithm will be used", |
163 | | - MCA_BASE_VAR_TYPE_INT, NULL, 0, 0, |
| 160 | + MCA_BASE_VAR_TYPE_INT, NULL, 0, MCA_BASE_VAR_FLAG_DEPRECATED, |
164 | 161 | OPAL_INFO_LVL_6, |
165 | 162 | MCA_BASE_VAR_SCOPE_READONLY, |
166 | | - &ompi_coll_tuned_alltoall_small_msg); |
| 163 | + &deprecated_mca_params); |
167 | 164 |
|
168 | | - ompi_coll_tuned_alltoall_intermediate_msg = 3000; |
169 | 165 | (void) mca_base_component_var_register(&mca_coll_tuned_component.super.collm_version, |
170 | 166 | "alltoall_intermediate_msg", |
171 | 167 | "threshold (if supported) to decide if intermediate MSGs alltoall algorithm will be used", |
172 | | - MCA_BASE_VAR_TYPE_INT, NULL, 0, 0, |
| 168 | + MCA_BASE_VAR_TYPE_INT, NULL, 0, MCA_BASE_VAR_FLAG_DEPRECATED, |
173 | 169 | OPAL_INFO_LVL_6, |
174 | 170 | MCA_BASE_VAR_SCOPE_READONLY, |
175 | | - &ompi_coll_tuned_alltoall_intermediate_msg); |
| 171 | + &deprecated_mca_params); |
176 | 172 |
|
177 | 173 | (void) mca_base_component_var_register(&mca_coll_tuned_component.super.collm_version, |
178 | 174 | "use_dynamic_rules", |
|
0 commit comments