1
1
Этот коммит содержится в:
Gilles Gouaillardet 2015-12-15 13:33:43 +09:00
родитель 432301625a
Коммит f0df2a7b2b

Просмотреть файл

@ -92,7 +92,8 @@ int MPI_Alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
} }
} }
if( !OMPI_COMM_IS_INTER(comm) ){ if (! OMPI_COMM_IS_INTER(comm)) {
ompi_datatype_type_size(recvtype, &recvtype_size);
if( (0 == recvcount) || (0 == recvtype_size) ) { if( (0 == recvcount) || (0 == recvtype_size) ) {
return MPI_SUCCESS; return MPI_SUCCESS;
} }