Fixing compiler warnings.
In gather, the ptmp += incr is irrelevant, since ptmp is set within the loop. This commit was SVN r15293.
Этот коммит содержится в:
родитель
6c9de88d13
Коммит
483222085e
@ -99,7 +99,6 @@ int ompi_coll_tuned_allgatherv_intra_bruck(void *sbuf, int scount,
|
||||
ptrdiff_t slb, rlb, sext, rext;
|
||||
char *tmpsend = NULL, *tmprecv = NULL;
|
||||
struct ompi_datatype_t *new_rdtype, *new_sdtype;
|
||||
ompi_request_t *req;
|
||||
|
||||
size = ompi_comm_size(comm);
|
||||
rank = ompi_comm_rank(comm);
|
||||
|
@ -217,7 +217,6 @@ ompi_coll_tuned_gather_intra_linear_sync(void *sbuf, int scount,
|
||||
int rank, size;
|
||||
int first_segment_count;
|
||||
size_t typelng;
|
||||
MPI_Aint incr;
|
||||
MPI_Aint extent;
|
||||
MPI_Aint lb;
|
||||
|
||||
@ -280,7 +279,7 @@ ompi_coll_tuned_gather_intra_linear_sync(void *sbuf, int scount,
|
||||
first_segment_count );
|
||||
|
||||
ptmp = (char *) rbuf;
|
||||
for (i = 0; i < size; ++i, ptmp += incr) {
|
||||
for (i = 0; i < size; ++i) {
|
||||
if (i == rank) {
|
||||
/* skip myself */
|
||||
reqs[i] = MPI_REQUEST_NULL;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user