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