SG++
MPIMethods.hpp File Reference

Classes

struct  sgpp::datadriven::MessageTrackRequest
 Structure that holds data for pending tracking requests that need to be checked against incoming messages. More...
 
class  sgpp::datadriven::MPIMethods
 

Namespaces

 sgpp
 This header contains some utility functions.
 
 sgpp::datadriven
 

Macros

#define CHECK_INT_TO_UINT(x)
 Check to determine whether a int to unsigned int cast is safe. More...
 
#define CHECK_SIZE_T_TO_INT(x)
 Check to determine whether a size_t to integer cast is safe. More...
 
#define GRID_RECEIVED_ADDED_POINTS   7
 Constant for determining whether receiving the list of added grid points has completed. More...
 
#define GRID_RECEIVED_DELETED_INDEXES   6
 Constant for determining whether receiving the list of deleted grid points has completed. More...
 
#define GRID_TEMPORARILY_INCONSISTENT   5
 Constant for determining whether the grid is currently receiving segmented update lists. More...
 

Macro Definition Documentation

#define CHECK_INT_TO_UINT (   x)
Value:
if ((x) < 0)\
{\
throw sgpp::base::algorithm_exception("size_t to integer cast error");\
}
Exception that is thrown in case of an application failure.
Definition: algorithm_exception.hpp:21

Check to determine whether a int to unsigned int cast is safe.

Referenced by sgpp::datadriven::MPIMethods::executeMPIWaitAny(), and sgpp::datadriven::MPIMethods::initMPI().

#define CHECK_SIZE_T_TO_INT (   x)
Value:
if ((x) > INT_MAX)\
{\
throw sgpp::base::algorithm_exception("size_t to integer cast error");\
}
Exception that is thrown in case of an application failure.
Definition: algorithm_exception.hpp:21

Check to determine whether a size_t to integer cast is safe.

Referenced by sgpp::datadriven::LearnerSGDEOnOffParallel::doRefinementForAll(), sgpp::datadriven::MPIMethods::executeMPIWaitAny(), and sgpp::datadriven::MPIMethods::sendISend().

#define GRID_RECEIVED_ADDED_POINTS   7
#define GRID_RECEIVED_DELETED_INDEXES   6

Constant for determining whether receiving the list of deleted grid points has completed.

Referenced by sgpp::datadriven::MPIMethods::sendRefinementUpdates().

#define GRID_TEMPORARILY_INCONSISTENT   5