Do not forget to retrieve the extent of the datatype prior the first use.
This commit was SVN r1725.
Этот коммит содержится в:
родитель
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);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user