Arrgh -- re-indenting this morning accidentally used real tabs instead
of spaces (curses! indent(1) had been updated with a new option that I did not use). This commit simply converts tabs to real spaces. This commit was SVN r6799.
Этот коммит содержится в:
родитель
988f70edd8
Коммит
51de13bb97
@ -51,7 +51,7 @@ mca_coll_basic_gatherv_intra(void *sbuf, int scount,
|
|||||||
rank = ompi_comm_rank(comm);
|
rank = ompi_comm_rank(comm);
|
||||||
|
|
||||||
/* Everyone but root sends data and returns. Note that we will only
|
/* Everyone but root sends data and returns. Note that we will only
|
||||||
get here if scount > 0 or rank == root. */
|
* get here if scount > 0 or rank == root. */
|
||||||
|
|
||||||
if (rank != root) {
|
if (rank != root) {
|
||||||
err = MCA_PML_CALL(send(sbuf, scount, sdtype, root,
|
err = MCA_PML_CALL(send(sbuf, scount, sdtype, root,
|
||||||
@ -71,7 +71,7 @@ mca_coll_basic_gatherv_intra(void *sbuf, int scount,
|
|||||||
ptmp = ((char *) rbuf) + (extent * disps[i]);
|
ptmp = ((char *) rbuf) + (extent * disps[i]);
|
||||||
|
|
||||||
if (i == rank) {
|
if (i == rank) {
|
||||||
if( (0 < scount) && (0 < rcounts[i]) ) /* simple optimization */
|
if ((0 < scount) && (0 < rcounts[i])) /* simple optimization */
|
||||||
err = ompi_ddt_sndrcv(sbuf, scount, sdtype,
|
err = ompi_ddt_sndrcv(sbuf, scount, sdtype,
|
||||||
ptmp, rcounts[i], rdtype);
|
ptmp, rcounts[i], rdtype);
|
||||||
} else {
|
} else {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user