All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Parallelism.h
Go to the documentation of this file.
1 /*
2  * Parallelism.h
3  *
4  * Control functions related to parallelism.
5  *
6  * Created on: 13.11.2013
7  * Author: Christian Staudt (christian.staudt@kit.edu)
8  */
9 
10 #ifndef PARALLELISM_H_
11 #define PARALLELISM_H_
12 
13 
14 
15 namespace Aux {
16 
17 
21 void setNumberOfThreads(int nThreads);
22 
28 
29 
35 
36 
39 
40 }
41 
42 #endif
int getCurrentNumberOfThreads()
Definition: Parallelism.cpp:18
void enableNestedParallelism()
Enable OpenMP nested parallelism.
Definition: Parallelism.cpp:37
int getMaxNumberOfThreads()
Definition: Parallelism.cpp:28
void setNumberOfThreads(int nThreads)
Set the number of threads available to the program.
Definition: Parallelism.cpp:9