35 #ifndef _BLAZE_MATH_SMP_SERIALSECTION_H_
36 #define _BLAZE_MATH_SMP_SERIALSECTION_H_
63 template<
typename T >
84 inline operator bool()
const;
118 template<
typename T >
138 template<
typename T >
161 template<
typename T >
183 template<
typename T >
262 #define BLAZE_SERIAL_SECTION \
263 if( blaze::SerialSection<int> BLAZE_JOIN( serialSection, __LINE__ ) = true )
Section to enforce the serial execution of operations.The SerialSection class is an auxiliary helper ...
Definition: SerialSection.h:64
SerialSection(bool activate)
Constructor for the SerialSection class.
Definition: SerialSection.h:139
#define BLAZE_THROW_RUNTIME_ERROR(MESSAGE)
Macro for the emission of a std::runtime_error exception.This macro encapsulates the default way of B...
Definition: Exception.h:379
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the exception macros of the math module.
bool isSerialSectionActive()
Returns whether a serial section is active or not.
Definition: SerialSection.h:213
~SerialSection()
Destructor of the SerialSection class.
Definition: SerialSection.h:162
Header file for compile time constraints.
static bool active_
Activity flag for the serial section.
Definition: SerialSection.h:92