32 #ifndef PLANCK_OPENMP_SUPPORT_H 33 #define PLANCK_OPENMP_SUPPORT_H 41 inline bool openmp_enabled()
50 inline int openmp_max_threads ()
53 return omp_get_max_threads();
59 inline int openmp_num_threads ()
62 return omp_get_num_threads();
68 inline int openmp_thread_num ()
71 return omp_get_thread_num();
void calcShareGeneral(int64 glo, int64 ghi, int64 nshares, int64 myshare, int64 &lo, int64 &hi)
void openmp_calc_share(int64 glo, int64 ghi, int64 &lo, int64 &hi)