1
1

stride size should be 4 x 16, as extent of oldtype is 16 bytes

Signed-off-by: wkliao
Этот коммит содержится в:
Wei-keng Liao 2019-07-12 13:41:33 -05:00
родитель e5b7101a95
Коммит 56f45b2aeb

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

@ -82,7 +82,7 @@ The function MPI_Type_vector is a general constructor that allows replication of
(double, 80), (char, 88), (double, 96), (char, 104)}
.fi
.sp
That is, two blocks with three copies each of the old type, with a stride of 4 elements (4 x 6 bytes) between the blocks.
That is, two blocks with three copies each of the old type, with a stride of 4 elements (4 x 16 bytes) between the blocks.
.sp
\fBExample 2:\fP A call to MPI_Type_vector(3, 1, -2, oldtype, newtype) will create the datatype
.nf