|
2 | 2 | /* |
3 | 3 | * Copyright (c) 2018 Siberian State University of Telecommunications |
4 | 4 | * and Information Sciences. All rights reserved. |
| 5 | + * Copyright (c) 2018 Research Organization for Information Science |
| 6 | + * and Technology (RIST). All rights reserved. |
5 | 7 | * $COPYRIGHT$ |
6 | 8 | * |
7 | 9 | * Additional copyrights may follow |
@@ -31,7 +33,8 @@ static int coll_tuned_reduce_scatter_block_tree_fanout; |
31 | 33 | /* valid values for coll_tuned_reduce_scatter_blokc_forced_algorithm */ |
32 | 34 | static mca_base_var_enum_value_t reduce_scatter_block_algorithms[] = { |
33 | 35 | {0, "ignore"}, |
34 | | - {1, "recursive_doubling"}, |
| 36 | + {1, "basic"}, |
| 37 | + {2, "recursive_doubling"}, |
35 | 38 | {0, NULL} |
36 | 39 | }; |
37 | 40 |
|
@@ -118,7 +121,9 @@ int ompi_coll_tuned_reduce_scatter_block_intra_do_this(const void *sbuf, void *r |
118 | 121 | switch (algorithm) { |
119 | 122 | case (0): return ompi_coll_tuned_reduce_scatter_block_intra_dec_fixed(sbuf, rbuf, rcount, |
120 | 123 | dtype, op, comm, module); |
121 | | - case (1): return ompi_coll_base_reduce_scatter_block_intra_recursivedoubling(sbuf, rbuf, rcount, |
| 124 | + case (1): return ompi_coll_base_reduce_scatter_block_basic(sbuf, rbuf, rcount, |
| 125 | + dtype, op, comm, module); |
| 126 | + case (2): return ompi_coll_base_reduce_scatter_block_intra_recursivedoubling(sbuf, rbuf, rcount, |
122 | 127 | dtype, op, comm, module); |
123 | 128 | } /* switch */ |
124 | 129 | OPAL_OUTPUT((ompi_coll_tuned_stream, "coll:tuned:reduce_scatter_block_intra_do_this attempt to select algorithm %d when only 0-%d is valid?", |
|
0 commit comments