mpiControlAllocUpdate
Declaration
MPI_RESULT mpiControlAllocUpdate(MPIControl control);
Required Header: control.h
Change History: Added in 04.00.
Description
mpiControlAllocUpdate retrieves the dynamic memory allocations from the controller and writes them into the application’s control object. This function is invoked during mpiControlCreate, mpiControlAccess, mpiControlConfigGet/Set, and mpiControlTimingConfigGet/Set.
If you are running a single application, you will not need to use this function. If you run multiple applications simultaneously and at least one application reallocates controller memory, then all other applications should call mpiControlAllocUpdate to update the control object’s allocation tables before calling mpiControlObjectCount or mpiControlObjectPtr.
control | A control object handle. |
---|
Return Values |
---|
MPIMessageOK |
See Also
mpiControlObjectCount | mpiControlObjectPtr | mpiControlMemoryAlloc