The mpi_array.types
Module¶
Convert numpy.dtype
to mpi4pi.MPI.Datatype
.
Functions¶
to_datatype (dtyp) |
Converts a numpy.dtype to a mpi4py.MPI.Datatype . |
Utilities¶
create_lookup () |
Creates a collections.defaultdict of (numpy.dtype , mpi4py.MPI.Datatype ) key-value pairs. |
create_datatype (dtyp) |
Creates a mpi4py.MPI.Datatype from a given numpy.dtype . |
find_or_create_datatype (dtyp) |
Converts a numpy.dtype to a mpi4py.MPI.Datatype . |