Do not do arithmetic with void * in basic neighborhood alltoall[vw].
cmr=v1.7.4:reviewer=jsquyres This commit was SVN r29558.
Этот коммит содержится в:
родитель
396362a131
Коммит
167d5613db
@ -201,7 +201,7 @@ mca_coll_basic_neighbor_alltoallv_dist_graph(const void *sbuf, const int scounts
|
||||
|
||||
for (neighbor = 0 ; neighbor < outdegree ; ++neighbor) {
|
||||
/* remove cast from const when the pml layer is updated to take a const for the send buffer */
|
||||
rc = MCA_PML_CALL(isend((void *) sbuf + sdisps[neighbor] * sdextent, scounts[neighbor], sdtype,
|
||||
rc = MCA_PML_CALL(isend((char *) sbuf + sdisps[neighbor] * sdextent, scounts[neighbor], sdtype,
|
||||
outedges[neighbor], MCA_COLL_BASE_TAG_ALLTOALL, MCA_PML_BASE_SEND_STANDARD,
|
||||
comm, reqs++));
|
||||
if (OMPI_SUCCESS != rc) break;
|
||||
|
@ -190,7 +190,7 @@ mca_coll_basic_neighbor_alltoallw_dist_graph(const void *sbuf, const int scounts
|
||||
|
||||
for (neighbor = 0 ; neighbor < outdegree ; ++neighbor) {
|
||||
/* remove cast from const when the pml layer is updated to take a const for the send buffer */
|
||||
rc = MCA_PML_CALL(isend((void *) sbuf + sdisps[neighbor], scounts[neighbor], sdtypes[neighbor],
|
||||
rc = MCA_PML_CALL(isend((char *) sbuf + sdisps[neighbor], scounts[neighbor], sdtypes[neighbor],
|
||||
outedges[neighbor], MCA_COLL_BASE_TAG_ALLTOALL, MCA_PML_BASE_SEND_STANDARD,
|
||||
comm, reqs++));
|
||||
if (OMPI_SUCCESS != rc) break;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user