fixed bruck alltoall bug. now passes ibm tests
This commit was SVN r7346.
Этот коммит содержится в:
родитель
47a1a2b7ec
Коммит
9053790973
@ -243,9 +243,10 @@ int mca_coll_tuned_alltoall_intra_bruck(void *sbuf, int scount,
|
|||||||
|
|
||||||
/* Step 3 - local rotation - */
|
/* Step 3 - local rotation - */
|
||||||
for (i = 0; i < size; i++) {
|
for (i = 0; i < size; i++) {
|
||||||
|
|
||||||
err = ompi_ddt_copy_content_same_ddt (rdtype, (int32_t) rcount,
|
err = ompi_ddt_copy_content_same_ddt (rdtype, (int32_t) rcount,
|
||||||
((char*)rbuf)+(((rank-i+size)%size)*rcount*rext),
|
((char*)rbuf)+(((rank-i+size)%size)*rcount*rext),
|
||||||
tmpbuf+rcount*rext);
|
tmpbuf+i*rcount*rext);
|
||||||
if (err<0) {
|
if (err<0) {
|
||||||
line = __LINE__; err = -1; goto err_hndl;
|
line = __LINE__; err = -1; goto err_hndl;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user