35 #ifndef _BLAZE_MATH_SMP_PARALLELSECTION_H_ 36 #define _BLAZE_MATH_SMP_PARALLELSECTION_H_ 63 template<
typename T >
92 inline operator bool()
const;
126 template<
typename T >
146 template<
typename T >
169 template<
typename T >
191 template<
typename T >
254 #define BLAZE_PARALLEL_SECTION \ 255 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:58
Header file for the exception macros of the math module.
ParallelSection(bool activate)
Constructor for the ParallelSection class.
Definition: ParallelSection.h:147
~ParallelSection()
Destructor of the ParallelSection class.
Definition: ParallelSection.h:170
bool isParallelSectionActive()
Returns whether a parallel section is active or not.
Definition: ParallelSection.h:221
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:100
Header file for compile time constraints.