@@ -433,7 +433,7 @@ static inline int red_sched_chain (int rank, int p, int root, const void *sendbu
433433 res = NBC_Sched_recv ((char * )recvbuf + offset , false, thiscount , datatype , rpeer , schedule , true);
434434 } else {
435435 // 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
437437 // overwriting our sendbuf, and we use it in the operation
438438 // that happens further down
439439 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
445445 res = NBC_Sched_op ((char * ) sendbuf + offset , false, (char * ) recvbuf + offset , false,
446446 thiscount , datatype , op , schedule , true);
447447 } else {
448- // for any-src , add tmpbuf into recvbuf
448+ // for MPI_IN_PLACE , add tmpbuf into recvbuf
449449 // (here tmpbuf holds the reduction from 1..n-1) and
450450 // recvbuf is our sendbuf
451451 res = NBC_Sched_op ((char * ) offset , true, (char * ) recvbuf + offset , false,
0 commit comments