|
| void | clearIndices (Type *buf, size_t bufOffset, int elements) const |
| |
| MpiTypeDefault * | clone () const |
| | Creates a clone of the mpi type also calling MPI_Type_dub.
|
| |
| int | computeActiveElements (const int count) const |
| | Get the number of active elements that are contained in count versions of the type.
|
| |
| void | copy (Type *from, size_t fromOffset, Type *to, size_t toOffset, int count) const |
| |
| void | copy (void *from, size_t fromOffset, void *to, size_t toOffset, int count) const |
| | Copy the elements of one buffer into the other.
|
| |
| void | copyFromModifiedBuffer (Type *buf, size_t bufOffset, const ModifiedType *bufMod, size_t bufModOffset, int elements) const |
| |
| void | copyIntoModifiedBuffer (const Type *buf, size_t bufOffset, ModifiedType *bufMod, size_t bufModOffset, int elements) const |
| |
| void | createIndices (Type *buf, size_t bufOffset, IndexType *indices, size_t bufModOffset, int elements) const |
| |
| void | createModifiedTypeBuffer (ModifiedType *&buf, size_t size) const |
| |
| void | createTypeBuffer (Type *&buf, size_t size) const |
| |
| void | deleteModifiedTypeBuffer (ModifiedType *&buf) const |
| |
| void | deleteTypeBuffer (Type *&buf, size_t size) const |
| |
| void | freeType (Type *buf, size_t bufOffset, int elements) const |
| |
| const Tool & | getADTool () const |
| | Get the AD tool that handled the AD specifics.
|
| |
| void | getIndices (const Type *buf, size_t bufOffset, IndexType *indices, size_t bufModOffset, int elements) const |
| |
| void | getValues (const Type *buf, size_t bufOffset, PrimalType *primals, size_t bufModOffset, int elements) const |
| |
| void | initializeType (Type *buf, size_t bufOffset, int elements) const |
| |
| bool | isModifiedBufferRequired () const |
| | Tell the functions if the underlying AD tool requires new send/recv buffers or if the original buffers can be used.
|
| |
| | MpiTypeDefault (Tool *adTool, MPI_Datatype type, MPI_Datatype modType) |
| |
| void | performReduce (Type *buf, Type *target, int count, AMPI_Op op, int ranks) const |
| |
| void | registerValue (Type *buf, size_t bufOffset, IndexType *indices, PrimalType *oldPrimals, size_t bufModOffset, int elements) const |
| |
| | ~MpiTypeDefault () |
| |
| void | clearIndices (void *buf, size_t bufOffset, int elements) const |
| | Clear the AD types in the buffer such that they can be overwritten.
|
| |
| void | copyFromModifiedBuffer (void *buf, size_t bufOffset, const void *bufMod, size_t bufModOffset, int elements) const |
| | Copy all data from the modified buffer and perform the special handling for the AD type.
|
| |
| void | copyIntoModifiedBuffer (const void *buf, size_t bufOffset, void *bufMod, size_t bufModOffset, int elements) const |
| | Copy all data into the modified buffer and perform the special handling for the AD type.
|
| |
| void | createIndices (void *buf, size_t bufOffset, void *indices, size_t bufModOffset, int elements) const |
| | Create indices for a reciving buffer if necessary.
|
| |
| void | createModifiedTypeBuffer (void *&buf, size_t size) const |
| | Create a temporary buffer of the modified type that this interface represents.
|
| |
| void | createTypeBuffer (void *&buf, size_t size) const |
| | Create a temporary buffer of the type that this interface represents.
|
| |
| void | deleteModifiedTypeBuffer (void *&buf) const |
| | Delete the temporary buffer for the modified types.
|
| |
| void | deleteTypeBuffer (void *&buf, size_t size) const |
| | Delete the temporary buffer.
|
| |
| void | freeType (void *buf, size_t bufOffset, int elements) const |
| | Destroy the types in the buffer.
|
| |
| void | getIndices (const void *buf, size_t bufOffset, void *indices, size_t bufModOffset, int elements) const |
| | Get all the AD identifiers from all AD types in the buffer.
|
| |
| void | getValues (const void *buf, size_t bufOffset, void *primals, size_t bufModOffset, int elements) const |
| | Get the primal values from the AD types.
|
| |
| void | initializeType (void *buf, size_t bufOffset, int elements) const |
| | Initialize the types in the buffer.
|
| |
| | MpiTypeBase (MPI_Datatype mpiType, MPI_Datatype modifiedMpiType) |
| |
| void | performReduce (void *buf, void *target, int count, AMPI_Op op, int ranks) const |
| | Perform a local reduce operation.
|
| |
| void | registerValue (void *buf, size_t bufOffset, void *indices, void *oldPrimals, size_t bufModOffset, int elements) const |
| | Register all the AD values on the new machine.
|
| |
| MPI_Datatype | getModifiedMpiType () const |
| | Return the MPI type for the modified data.
|
| |
| MPI_Datatype | getMpiType () const |
| | Return the MPI type for the data that this interface represents.
|
| |
| | MpiTypeInterface (MPI_Datatype mpiType, MPI_Datatype modifiedMpiType) |
| | Wrapper interface for MPI types in communications. See the class description for details.
|
| |
| virtual | ~MpiTypeInterface () |
| | Virtual destructor.
|
| |
template<typename ADTool>
class medi::MpiTypeDefault< ADTool >
The default implementation of a MPI type that is represented by an AD type.
- Template Parameters
-