Class OpenMPConfig
Defined in File lvropenmp.hpp
Class Documentation
-
class OpenMPConfig
Public Static Functions
-
static bool haveOpenMP()
True if OpenMP is supported.
-
static int getNumThreads()
Returns the number of supported threads (or 1 if OpenMP is not supported)
-
static void setNumThreads(int n)
Sets the number of used threads if OpenMP is used for parallelization.
-
static void setMaxNumThreads()
Enables the maximum number of parallel threads.
-
static bool haveOpenMP()