Skip to content

Commit 56f45b2

Browse files
committed
stride size should be 4 x 16, as extent of oldtype is 16 bytes
Signed-off-by: wkliao
1 parent e5b7101 commit 56f45b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mpi/man/man3/MPI_Type_vector.3in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The function MPI_Type_vector is a general constructor that allows replication of
8282
(double, 80), (char, 88), (double, 96), (char, 104)}
8383
.fi
8484
.sp
85-
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.
85+
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.
8686
.sp
8787
\fBExample 2:\fP A call to MPI_Type_vector(3, 1, -2, oldtype, newtype) will create the datatype
8888
.nf

0 commit comments

Comments
 (0)