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 >
142 throw std::runtime_error(
"Nested parallel sections detected" );
160 template<
typename T >
182 template<
typename T >
245 #define BLAZE_PARALLEL_SECTION \
246 if( blaze::ParallelSection<int> BLAZE_JOIN( parallelSection, __LINE__ ) = true )
ParallelSection(bool activate)
Constructor for the ParallelSection class.
Definition: ParallelSection.h:139
~ParallelSection()
Destructor of the ParallelSection class.
Definition: ParallelSection.h:161
bool isParallelSectionActive()
Returns whether a parallel section is active or not.
Definition: ParallelSection.h:212
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.