mpi4py.typing
New 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
alias of
mpi4py.typing.SupportsBuffer
- mpi4py.typing.SupportsDLPack = <class 'mpi4py.typing.SupportsDLPack'>
DLPack data interchange protocol.
See also
alias of
mpi4py.typing.SupportsDLPack
- mpi4py.typing.SupportsCAI = <class 'mpi4py.typing.SupportsCAI'>
CUDA Array Interface (CAI) protocol.
See also
alias of
mpi4py.typing.SupportsCAI
- mpi4py.typing.Buffer
Buffer-like object.
alias of
Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
]
- mpi4py.typing.Bottom
Start of the address range.
alias of
Optional
[BottomType
]
- mpi4py.typing.InPlace
In-place buffer argument.
alias of
Optional
[InPlaceType
]
- 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
Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
,Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Integral
],Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Union
[Datatype
,str
]],Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Integral
,Union
[Datatype
,str
]],Tuple
[Optional
[BottomType
],Integral
,Datatype
],List
]
- mpi4py.typing.BufSpecB
Buffer specification (block).
alias of
Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
,Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Integral
],Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Union
[Datatype
,str
]],Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Integral
,Union
[Datatype
,str
]],List
]
- mpi4py.typing.BufSpecV
Buffer specification (vector).
Tuple[
Buffer
, Tuple[Sequence[Count
], Sequence[Displ
]],TypeSpec
]Tuple[
Bottom
, Tuple[Sequence[Count
], Sequence[Displ
]],Datatype
]
alias of
Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
,Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Sequence
[Integral
]],Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Tuple
[Sequence
[Integral
],Sequence
[Integral
]]],Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Union
[Datatype
,str
]],Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Sequence
[Integral
],Union
[Datatype
,str
]],Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Tuple
[Sequence
[Integral
],Sequence
[Integral
]],Union
[Datatype
,str
]],Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Sequence
[Integral
],Sequence
[Integral
],Union
[Datatype
,str
]],Tuple
[Optional
[BottomType
],Tuple
[Sequence
[Integral
],Sequence
[Integral
]],Datatype
],Tuple
[Optional
[BottomType
],Sequence
[Integral
],Sequence
[Integral
],Datatype
],List
]
- 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
Union
[Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Sequence
[Datatype
]],Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Tuple
[Sequence
[Integral
],Sequence
[Integral
]],Sequence
[Datatype
]],Tuple
[Union
[SupportsBuffer
,SupportsDLPack
,SupportsCAI
],Sequence
[Integral
],Sequence
[Integral
],Sequence
[Datatype
]],Tuple
[Optional
[BottomType
],Tuple
[Sequence
[Integral
],Sequence
[Integral
]],Sequence
[Datatype
]],Tuple
[Optional
[BottomType
],Sequence
[Integral
],Sequence
[Integral
],Sequence
[Datatype
]],List
]