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