Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
blaze
system
SMP.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_SYSTEM_SMP_H_
36
#define _BLAZE_SYSTEM_SMP_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/config/SMP.h
>
44
45
46
47
48
//=================================================================================================
49
//
50
// OPENMP MODE CONFIGURATION
51
//
52
//=================================================================================================
53
54
//*************************************************************************************************
64
#if BLAZE_USE_SHARED_MEMORY_PARALLELIZATION && defined(_OPENMP)
65
#define BLAZE_OPENMP_PARALLEL_MODE 1
66
#else
67
#define BLAZE_OPENMP_PARALLEL_MODE 0
68
#endif
69
//*************************************************************************************************
70
71
72
73
74
//=================================================================================================
75
//
76
// C++11 THREAD PARALLEL MODE CONFIGURATION
77
//
78
//=================================================================================================
79
80
//*************************************************************************************************
92
#if BLAZE_USE_SHARED_MEMORY_PARALLELIZATION && defined(BLAZE_USE_CPP_THREADS)
93
#define BLAZE_CPP_THREADS_PARALLEL_MODE 1
94
#else
95
#define BLAZE_CPP_THREADS_PARALLEL_MODE 0
96
#endif
97
//*************************************************************************************************
98
99
100
101
102
//=================================================================================================
103
//
104
// BOOST THREAD PARALLEL MODE CONFIGURATION
105
//
106
//=================================================================================================
107
108
//*************************************************************************************************
119
#if BLAZE_USE_SHARED_MEMORY_PARALLELIZATION && defined(BLAZE_USE_BOOST_THREADS)
120
#define BLAZE_BOOST_THREADS_PARALLEL_MODE 1
121
#else
122
#define BLAZE_BOOST_THREADS_PARALLEL_MODE 0
123
#endif
124
//*************************************************************************************************
125
126
#endif
SMP.h
Configuration of the shared-memory parallelization.
Generated on Wed Dec 3 2014 11:58:01 by
1.8.7