mpi_array.types.to_datatype¶
-
mpi_array.types.
to_datatype
(dtyp)[source]¶ Converts a
numpy.dtype
to ampi4py.MPI.Datatype
.Parameters: dtyp ( numpy.dtype
) – This gets converted to ampi4py.MPI.Datatype
.Return type: mpi4py.MPI.Datatype
Returns: A mpi4py.MPI.Datatype
for the givendtyp
.