35 #ifndef _BLAZE_MATH_SMP_PARALLELSECTION_H_
36 #define _BLAZE_MATH_SMP_PARALLELSECTION_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 >
246 #define BLAZE_PARALLEL_SECTION \
247 if( blaze::ParallelSection<int> BLAZE_JOIN( parallelSection, __LINE__ ) = true )
#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.
ParallelSection(bool activate)
Constructor for the ParallelSection class.
Definition: ParallelSection.h:139
~ParallelSection()
Destructor of the ParallelSection class.
Definition: ParallelSection.h:162
bool isParallelSectionActive()
Returns whether a parallel section is active or not.
Definition: ParallelSection.h:213
Section for the debugging of the shared-memory parallelization.The ParallelSection class is an auxili...
Definition: ParallelSection.h:64
static bool active_
Activity flag for the parallel section.
Definition: ParallelSection.h:92
Header file for compile time constraints.