Go to the documentation of this file. 23 #ifndef INCLUDED_EXTERNAL_LIBRARIES_OPENMP 24 #define INCLUDED_EXTERNAL_LIBRARIES_OPENMP 30 # if ENABLE_OPENMP && !defined(_OPENMP) 31 # error "either enable OpenMP in the compiler settings or don't set ENABLE_OPENMP to 1" 33 #else // no user preference; default to compiler setting 35 # define ENABLE_OPENMP 1 37 # define ENABLE_OPENMP 0 44 # define omp_get_num_threads() 1 45 # define omp_get_thread_num() 0 46 # define omp_in_parallel() 0 53 # define OMP(args) __pragma(omp args) 55 # define OMP _Pragma("omp " #args) 63 #endif // #ifndef INCLUDED_EXTERNAL_LIBRARIES_OPENMP