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 >
142 throw std::runtime_error(
"Nested serial sections detected" );
160 template<
typename T >
182 template<
typename T >
261 #define BLAZE_SERIAL_SECTION \
262 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
bool isSerialSectionActive()
Returns whether a serial section is active or not.
Definition: SerialSection.h:212
~SerialSection()
Destructor of the SerialSection class.
Definition: SerialSection.h:161
Header file for compile time constraints.
static bool active_
Activity flag for the serial section.
Definition: SerialSection.h:92