API Documentation
Toggle main menu visibility
Main Page
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
c
d
e
f
g
i
j
k
l
m
n
o
r
s
u
v
Properties
Related Symbols
c
d
f
h
i
l
m
n
q
r
s
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
c
d
e
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
Typedefs
b
g
p
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Loading...
Searching...
No Matches
OpenMP.hpp
Go to the documentation of this file.
1
#pragma once
2
namespace
NDEVR
3
{
4
/**----------------------------------------------------------------------------
5
\brief Dummy class for including OpenMP macros
6
https://www.openmp.org/
7
*/
8
class
OpenMP
9
{};
8
class
OpenMP
{
…
};
10
}
11
#ifdef _WIN32
12
#define NDEVR_USE_OPEN_MP 1
13
#else
14
#define NDEVR_USE_OPEN_MP 0
15
#endif
16
#if NDEVR_USE_OPEN_MP
17
#define _parallel_for __pragma(omp parallel for) \
18
for
17
#define _parallel_for __pragma(omp parallel for) \
…
19
#define _parallel_for_if(if_statement, for_a, for_b, for_c) __pragma(omp parallel for if(if_statement)) \
20
for(for_a, for_b, for_c)
19
#define _parallel_for_if(if_statement, for_a, for_b, for_c) __pragma(omp parallel for if(if_statement)) \
…
21
#else
22
#define _parallel_for for
23
#endif
NDEVR::OpenMP
Dummy class for including OpenMP macros https://www.openmp.org/.
Definition
OpenMP.hpp:9
NDEVR
Definition
ACIColor.h:37
Base
Headers
OpenMP.hpp