![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
OpenMP wrappers implementation. More...
Go to the source code of this file.
Namespaces | |
| namespace | gum |
| gum is the global namespace for all aGrUM entities | |
| namespace | gum::threadsOMP |
Functions | |
| bool | gum::threadsOMP::hasOMPSupport () |
| Is OMP active ? | |
| unsigned int | gum::threadsOMP::getMaxNumberOfThreads () |
| Returns the maximum number of threads that should be used at any time. | |
| unsigned int | gum::threadsOMP::getNumberOfLogicalProcessors () |
| Get the number of logical processors. | |
| unsigned int | gum::threadsOMP::getThreadNumber () |
| Get the calling thread id. | |
| unsigned int | gum::threadsOMP::getNumberOfRunningThreads () |
| Get the current number of running threads. | |
| void | gum::threadsOMP::setNestedParallelism (bool value) |
| Set nested parallelism (false bu default). | |
| bool | gum::threadsOMP::getNestedParallelism () |
| Get nested parallelism status. | |
| void | gum::threadsOMP::setDynamicThreadsNumber (bool value) |
| Set the dynamic threads number (false by default). | |
| bool | gum::threadsOMP::getDynamicThreadsNumber () |
| Get the dynamic thread number adjustment status. | |
OpenMP wrappers implementation.
Definition in file threadsOMP_inl.h.