mpi4py.typing
Added in version 4.0.0.
This module provides type aliases used to add
type hints to the various functions and methods
within the MPI
module.
Types Summary
Python buffer protocol. |
|
DLPack data interchange protocol. |
|
CUDA Array Interface (CAI) protocol. |
|
Buffer-like object. |
|
Start of the address range. |
|
In-place buffer argument. |
|
Address-sized integral type. |
|
Integral type for counts. |
|
Integral type for displacements. |
|
Integral type for offsets. |
|
Datatype specification. |
|
Buffer specification. |
|
Buffer specification (block). |
|
Buffer specification (vector). |
|
Buffer specification (generalized). |
|
Target specification. |
Types Documentation
- mpi4py.typing.SupportsBuffer = <class 'mpi4py.typing.SupportsBuffer'>
Python buffer protocol.
See also
- mpi4py.typing.SupportsDLPack = <class 'mpi4py.typing.SupportsDLPack'>
DLPack data interchange protocol.
See also
- mpi4py.typing.SupportsCAI = <class 'mpi4py.typing.SupportsCAI'>
CUDA Array Interface (CAI) protocol.
See also
- mpi4py.typing.Buffer
Buffer-like object.
alias of
SupportsBuffer
|SupportsDLPack
|SupportsCAI
- mpi4py.typing.Bottom
Start of the address range.
alias of
BottomType
|None
- mpi4py.typing.InPlace
In-place buffer argument.
alias of
InPlaceType
|None
- mpi4py.typing.Aint = <class 'numbers.Integral'>
Address-sized integral type.
alias of
numbers.Integral
- mpi4py.typing.Count = <class 'numbers.Integral'>
Integral type for counts.
alias of
numbers.Integral
- mpi4py.typing.Displ = <class 'numbers.Integral'>
Integral type for displacements.
alias of
numbers.Integral
- mpi4py.typing.Offset = <class 'numbers.Integral'>
Integral type for offsets.
alias of
numbers.Integral
- mpi4py.typing.BufSpec
Buffer specification.
alias of
SupportsBuffer
|SupportsDLPack
|SupportsCAI
|Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Integral
] |Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Datatype
|str
] |Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Integral
,Datatype
|str
] |Tuple
[BottomType
|None
,Integral
,Datatype
] |List
[Any
]
- mpi4py.typing.BufSpecB
Buffer specification (block).
alias of
SupportsBuffer
|SupportsDLPack
|SupportsCAI
|Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Integral
] |Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Datatype
|str
] |Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Integral
,Datatype
|str
] |List
[Any
]
- mpi4py.typing.BufSpecV
Buffer specification (vector).
Tuple[
Buffer
, Tuple[Sequence[Count
], Sequence[Displ
]],TypeSpec
]Tuple[
Bottom
, Tuple[Sequence[Count
], Sequence[Displ
]],Datatype
]
alias of
SupportsBuffer
|SupportsDLPack
|SupportsCAI
|Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Sequence
[Integral
]] |Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Tuple
[Sequence
[Integral
],Sequence
[Integral
]]] |Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Datatype
|str
] |Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Sequence
[Integral
],Datatype
|str
] |Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Tuple
[Sequence
[Integral
],Sequence
[Integral
]],Datatype
|str
] |Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Sequence
[Integral
],Sequence
[Integral
],Datatype
|str
] |Tuple
[BottomType
|None
,Tuple
[Sequence
[Integral
],Sequence
[Integral
]],Datatype
] |Tuple
[BottomType
|None
,Sequence
[Integral
],Sequence
[Integral
],Datatype
] |List
[Any
]
- mpi4py.typing.BufSpecW
Buffer specification (generalized).
Tuple[
Buffer
, Tuple[Sequence[Count
], Sequence[Displ
]], Sequence[Datatype
]]Tuple[
Buffer
, Sequence[Count
], Sequence[Displ
], Sequence[Datatype
]]Tuple[
Bottom
, Tuple[Sequence[Count
], Sequence[Displ
]], Sequence[Datatype
]]Tuple[
Bottom
, Sequence[Count
], Sequence[Displ
], Sequence[Datatype
]]
alias of
Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Sequence
[Datatype
]] |Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Tuple
[Sequence
[Integral
],Sequence
[Integral
]],Sequence
[Datatype
]] |Tuple
[SupportsBuffer
|SupportsDLPack
|SupportsCAI
,Sequence
[Integral
],Sequence
[Integral
],Sequence
[Datatype
]] |Tuple
[BottomType
|None
,Tuple
[Sequence
[Integral
],Sequence
[Integral
]],Sequence
[Datatype
]] |Tuple
[BottomType
|None
,Sequence
[Integral
],Sequence
[Integral
],Sequence
[Datatype
]] |List
[Any
]