aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
threadsOMP.cpp File Reference

OpenMP wrapper implementation. More...

Include dependency graph for threadsOMP.cpp:

Go to the source code of this file.

Namespaces

namespace  gum
 gum is the global namespace for all aGrUM entities
namespace  gum::threadsOMP

Functions

unsigned int gum::threadsOMP::getNumberOfThreads ()
 returns the max number of threads used by default when entering the next parallel region
void gum::threadsOMP::setNumberOfThreads (unsigned int number)
 Set the number of threads to be used when entering the next parallel region.

Variables

static unsigned int gum::threadsOMP::_nb_threads_ {getMaxNumberOfThreads()}

Detailed Description

OpenMP wrapper implementation.

Author
Matthieu HOURBRACQ and Pierre-Henri WUILLEMIN

Definition in file threadsOMP.cpp.