![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
Utility functions used for exploiting OpenMP/STL parallelism. More...
Go to the source code of this file.
Namespaces | |
| namespace | gum |
| gum is the global namespace for all aGrUM entities | |
Functions | |
| void | gum::setNumberOfThreads (unsigned int number) |
| Set the max number of threads to be used when entering the next parallel region. | |
| bool | gum::isOMP () |
| indicates whether aGrUM uses openMP or STL threads | |
| std::vector< std::pair< Idx, Idx > > | gum::dispatchRangeToThreads (Idx beg, Idx end, unsigned int nb_threads) |
| returns a vector equally splitting elements of a range among threads | |
Utility functions used for exploiting OpenMP/STL parallelism.
Definition in file threads.cpp.