Static Public Member Functions | List of all members
lvr2::OpenMPConfig Class Reference

#include <lvropenmp.hpp>

Static Public Member Functions

static int getNumThreads ()
 Returns the number of supported threads (or 1 if OpenMP is not supported) More...
 
static bool haveOpenMP ()
 True if OpenMP is supported. More...
 
static void setMaxNumThreads ()
 Enables the maximum number of parallel threads. More...
 
static void setNumThreads (int n)
 Sets the number of used threads if OpenMP is used for parallelization. More...
 

Detailed Description

Definition at line 39 of file lvropenmp.hpp.

Member Function Documentation

◆ getNumThreads()

int lvr2::OpenMPConfig::getNumThreads ( )
static

Returns the number of supported threads (or 1 if OpenMP is not supported)

Definition at line 70 of file lvropenmp.cpp.

◆ haveOpenMP()

bool lvr2::OpenMPConfig::haveOpenMP ( )
static

True if OpenMP is supported.

Definition at line 47 of file lvropenmp.cpp.

◆ setMaxNumThreads()

void lvr2::OpenMPConfig::setMaxNumThreads ( )
static

Enables the maximum number of parallel threads.

Definition at line 63 of file lvropenmp.cpp.

◆ setNumThreads()

void lvr2::OpenMPConfig::setNumThreads ( int  n)
static

Sets the number of used threads if OpenMP is used for parallelization.

Definition at line 56 of file lvropenmp.cpp.


The documentation for this class was generated from the following files:


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:12