35#ifndef _BLAZE_MATH_SMP_HPX_FUNCTIONS_H_
36#define _BLAZE_MATH_SMP_HPX_FUNCTIONS_H_
43#include <hpx/config.hpp>
44#if HPX_VERSION_FULL >= 0x010500
45#include <hpx/runtime.hpp>
47#include <hpx/runtime/get_os_thread_count.hpp>
78 return 4 * hpx::get_os_thread_count();
BLAZE_ALWAYS_INLINE size_t getNumThreads()
Returns the number of threads used for thread parallel operations.
Definition: Functions.h:77
BLAZE_ALWAYS_INLINE void shutDownThreads()
Provides a reliable shutdown of C++11 threads for Visual Studio compilers.
Definition: Functions.h:128
#define BLAZE_STATIC_ASSERT(expr)
Compile time assertion macro.
Definition: StaticAssert.h:112
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
#define BLAZE_HPX_PARALLEL_MODE
Compilation switch for the HPX parallelization.
Definition: SMP.h:96
Header file for the exception macros of the math module.
System settings for the inline keywords.
System settings for the shared-memory parallelization.
Header file for basic type definitions.