@@ -433,7 +433,7 @@ static inline int red_sched_chain (int rank, int p, int root, const void *sendbu
433
433
res = NBC_Sched_recv ((char * )recvbuf + offset , false, thiscount , datatype , rpeer , schedule , true);
434
434
} else {
435
435
// but for any-src, recv into tmpbuf
436
- // because for any-src if we recved into recvbuf here we'd be
436
+ // because for MPI_IN_PLACE if we recved into recvbuf here we'd be
437
437
// overwriting our sendbuf, and we use it in the operation
438
438
// that happens further down
439
439
res = NBC_Sched_recv ((char * )offset , true, thiscount , datatype , rpeer , schedule , true);
@@ -445,7 +445,7 @@ static inline int red_sched_chain (int rank, int p, int root, const void *sendbu
445
445
res = NBC_Sched_op ((char * ) sendbuf + offset , false, (char * ) recvbuf + offset , false,
446
446
thiscount , datatype , op , schedule , true);
447
447
} else {
448
- // for any-src , add tmpbuf into recvbuf
448
+ // for MPI_IN_PLACE , add tmpbuf into recvbuf
449
449
// (here tmpbuf holds the reduction from 1..n-1) and
450
450
// recvbuf is our sendbuf
451
451
res = NBC_Sched_op ((char * ) offset , true, (char * ) recvbuf + offset , false,
0 commit comments