48#ifndef GUM_THREADS_OPEMMP_H
49#define GUM_THREADS_OPEMMP_H
unsigned int getMaxNumberOfThreads()
Returns the maximum number of threads that should be used at any time.
bool getDynamicThreadsNumber()
Get the dynamic thread number adjustment status.
unsigned int getNumberOfRunningThreads()
Get the current number of running threads.
unsigned int getNumberOfLogicalProcessors()
Get the number of logical processors.
void setDynamicThreadsNumber(bool value)
Set the dynamic threads number (false by default).
bool getNestedParallelism()
Get nested parallelism status.
void setNestedParallelism(bool value)
Set nested parallelism (false bu default).
unsigned int getThreadNumber()
Get the calling thread id.
bool hasOMPSupport()
Is OMP active ?
void setNumberOfThreads(unsigned int number)
Set the number of threads to be used when entering the next parallel region.
unsigned int getNumberOfThreads()
returns the max number of threads used by default when entering the next parallel region
gum is the global namespace for all aGrUM entities
OpenMP wrappers implementation.