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