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

OpenMP wrapper implementation. More...

#include <atomic>
#include <agrum/agrum.h>
#include <agrum/base/core/threads/threadsOMP.h>
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.

Detailed Description

OpenMP wrapper implementation.

Author
Matthieu HOURBRACQ and Pierre-Henri WUILLEMIN

Definition in file threadsOMP.cpp.