Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace 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
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
h
i
m
n
o
p
r
s
t
v
w
x
y
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
p
q
r
s
t
u
v
Enumerations
Enumerator
b
g
h
j
l
o
p
r
s
w
x
y
Classes
Class List
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
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
w
z
Related Functions
:
a
b
c
d
e
f
h
k
l
n
o
p
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
z
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
f
i
m
n
o
p
s
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
s
t
u
v
Enumerations
Enumerator
a
d
f
i
k
l
o
p
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
h
i
k
l
m
n
p
r
s
t
u
v
w
Examples
include
lvr2
config
lvropenmp.hpp
Go to the documentation of this file.
1
28
#ifndef LVROPENMP
29
#define LVROPENMP
30
31
namespace
lvr2
32
{
33
34
/***
35
* @brief Config class to get save access to information about OpenMP.
36
* Build to prevent trouble with OpenMP includes on compilers
37
* that do not support OpenMP
38
*/
39
class
OpenMPConfig
40
{
41
public
:
42
44
static
bool
haveOpenMP
();
45
47
static
int
getNumThreads
();
48
50
static
void
setNumThreads
(
int
n);
51
53
static
void
setMaxNumThreads
();
54
};
55
56
}
// namespace lvr2
57
58
#endif // LVROPENMP
lvr2::OpenMPConfig::setNumThreads
static void setNumThreads(int n)
Sets the number of used threads if OpenMP is used for parallelization.
Definition:
lvropenmp.cpp:56
lvr2::OpenMPConfig::haveOpenMP
static bool haveOpenMP()
True if OpenMP is supported.
Definition:
lvropenmp.cpp:47
lvr2::OpenMPConfig
Definition:
lvropenmp.hpp:39
lvr2::OpenMPConfig::setMaxNumThreads
static void setMaxNumThreads()
Enables the maximum number of parallel threads.
Definition:
lvropenmp.cpp:63
lvr2
Definition:
BaseBufferManipulators.hpp:39
lvr2::OpenMPConfig::getNumThreads
static int getNumThreads()
Returns the number of supported threads (or 1 if OpenMP is not supported)
Definition:
lvropenmp.cpp:70
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz
, Alexander Mock
, Lars Kiesow
, Lukas Kalbertodt
, Tristan Igelbrink
, Johan M. von Behren
, Dominik Feldschnieders
, Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:24