@@ -1916,10 +1916,10 @@ end
1916
1916
array_of_starts::MPIBuffertype{Cint}, order::Integer, oldtype)
1917
1917
1918
1918
Creates a data type describing an `ndims`-dimensional subarray of size `array_of_subsizes`
1919
- of an `ndims-dimensional` array of size `array_of_sizes` and element type `oldtype`,
1920
- starting at the top-left location `array_of_starts`. The parameter `order` refers to
1919
+ of an `ndims-dimensional` array of size `array_of_sizes` and element type `oldtype`,
1920
+ starting at the top-left location `array_of_starts`. The parameter `order` refers to
1921
1921
the memory layout of the parent array, and can be either `MPI_ORDER_C` or
1922
- `MPI_ORDER_FORTRAN`. Note that, like other MPI data types, the type returned by this
1922
+ `MPI_ORDER_FORTRAN`. Note that, like other MPI data types, the type returned by this
1923
1923
function should be committed with `MPI_Type_commit`.
1924
1924
"""
1925
1925
function Type_Create_Subarray (ndims:: Integer ,
@@ -1932,8 +1932,8 @@ function Type_Create_Subarray(ndims::Integer,
1932
1932
newtype_ref = Ref {Cint} ()
1933
1933
flag = Ref {Cint} ()
1934
1934
1935
- ccall (MPI_TYPE_CREATE_SUBARRAY, Nothing,
1936
- (Ref{Cint}, Ptr{Cint}, Ptr{Cint}, Ptr{Cint},
1935
+ ccall (MPI_TYPE_CREATE_SUBARRAY, Nothing,
1936
+ (Ref{Cint}, Ptr{Cint}, Ptr{Cint}, Ptr{Cint},
1937
1937
Ref{Cint}, Ref{Cint}, Ptr{Cint}, Ptr{Cint}),
1938
1938
ndims, array_of_sizes, array_of_subsizes, array_of_starts,
1939
1939
order, mpitype (oldtype), newtype_ref, flag)
0 commit comments