1
1

Do not forget to retrieve the extent of the datatype prior the first use.

This commit was SVN r1725.
Этот коммит содержится в:
George Bosilca 2004-07-14 19:26:28 +00:00
родитель 2ef8c7240b
Коммит 03de0f1384

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

@ -44,6 +44,9 @@ mca_coll_basic_alltoallv_intra(void *sbuf, int *scounts, int *sdisps,
size = ompi_comm_size(comm);
rank = ompi_comm_rank(comm);
ompi_ddt_type_extent(sdtype, &sndextent);
ompi_ddt_type_extent(rdtype, &rcvextent);
/* simple optimization */
psnd = ((char *) sbuf) + (sdisps[rank] * sndextent);