- Timestamp:
- 05/18/17 17:40:03 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan_merged/extern/src_ep_dev/ep_gatherv.cpp
r1134 r1138 484 484 mpi_size = comm.ep_comm_ptr->size_rank_info[2].second; 485 485 486 487 assert(accumulate(recvcounts, recvcounts+ep_size-1, 0) == displs[ep_size-1]); // Only for continuous gather. 486 if(ep_size == mpi_size) 487 return ::MPI_Allgatherv(sendbuf, sendcount, static_cast< ::MPI_Datatype>(datatype), recvbuf, recvcounts, displs, 488 static_cast< ::MPI_Datatype>(datatype), static_cast< ::MPI_Comm>(comm.mpi_comm)); 489 490 491 assert(accumulate(recvcounts, recvcounts+ep_size-1, 0) >= displs[ep_size-1]); // Only for continuous gather. 488 492 489 493
Note: See TracChangeset
for help on using the changeset viewer.