37 #ifdef LVR2_USE_OPEN_MP
47 bool OpenMPConfig::haveOpenMP()
49 #ifdef LVR2_USE_OPEN_MP
56 void OpenMPConfig::setNumThreads(
int n)
58 #ifdef LVR2_USE_OPEN_MP
59 omp_set_num_threads(n);
63 void OpenMPConfig::setMaxNumThreads()
65 #ifdef LVR2_USE_OPEN_MP
66 omp_set_num_threads(omp_get_num_procs());
70 int OpenMPConfig::getNumThreads()
72 #ifdef LVR2_USE_OPEN_MP
73 return omp_get_max_threads();