17
17
* Copyright (c) 2014-2017 Research Organization for Information Science
18
18
* and Technology (RIST). All rights reserved.
19
19
* Copyright (c) 2017 IBM Corporation. All rights reserved.
20
+ * Copyright (c) 2021 Amazon.com, Inc. or its affiliates. All Rights
21
+ * reserved.
20
22
* $COPYRIGHT$
21
23
*
22
24
* Additional copyrights may follow
@@ -109,14 +111,14 @@ mca_coll_base_alltoallv_intra_basic_inplace(const void *rbuf, const int *rcounts
109
111
110
112
/* Receive data from the right */
111
113
err = MCA_PML_CALL (irecv ((char * ) rbuf + rdisps [right ], rcounts [right ], rdtype ,
112
- right , MCA_COLL_BASE_TAG_ALLTOALLW , comm , & req ));
114
+ right , MCA_COLL_BASE_TAG_ALLTOALLV , comm , & req ));
113
115
if (MPI_SUCCESS != err ) { goto error_hndl ; }
114
116
}
115
117
116
118
if ( (left != right ) && (0 != rcounts [left ]) ) {
117
119
/* Send data to the left */
118
120
err = MCA_PML_CALL (send ((char * ) rbuf + rdisps [left ], rcounts [left ], rdtype ,
119
- left , MCA_COLL_BASE_TAG_ALLTOALLW , MCA_PML_BASE_SEND_STANDARD ,
121
+ left , MCA_COLL_BASE_TAG_ALLTOALLV , MCA_PML_BASE_SEND_STANDARD ,
120
122
comm ));
121
123
if (MPI_SUCCESS != err ) { goto error_hndl ; }
122
124
@@ -125,14 +127,14 @@ mca_coll_base_alltoallv_intra_basic_inplace(const void *rbuf, const int *rcounts
125
127
126
128
/* Receive data from the left */
127
129
err = MCA_PML_CALL (irecv ((char * ) rbuf + rdisps [left ], rcounts [left ], rdtype ,
128
- left , MCA_COLL_BASE_TAG_ALLTOALLW , comm , & req ));
130
+ left , MCA_COLL_BASE_TAG_ALLTOALLV , comm , & req ));
129
131
if (MPI_SUCCESS != err ) { goto error_hndl ; }
130
132
}
131
133
132
134
if ( 0 != rcounts [right ] ) { /* nothing to exchange with the peer on the right */
133
135
/* Send data to the right */
134
136
err = MCA_PML_CALL (send ((char * ) tmp_buffer , packed_size , MPI_PACKED ,
135
- right , MCA_COLL_BASE_TAG_ALLTOALLW , MCA_PML_BASE_SEND_STANDARD ,
137
+ right , MCA_COLL_BASE_TAG_ALLTOALLV , MCA_PML_BASE_SEND_STANDARD ,
136
138
comm ));
137
139
if (MPI_SUCCESS != err ) { goto error_hndl ; }
138
140
0 commit comments