Skip to content
Snippets Groups Projects
Commit a03d4d78 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Added HAVE_OPENMP5

parent a0054dd4
No related branches found
No related tags found
1 merge request!225M214003/develop
......@@ -165,7 +165,13 @@ cdo_print_features(void)
#endif
#ifdef _OPENMP
fprintf(fp, " OpenMP");
#if defined(HAVE_OPENMP45)
#if defined(HAVE_OPENMP52)
fprintf(fp, "52");
#elif defined(HAVE_OPENMP51)
fprintf(fp, "51");
#elif defined(HAVE_OPENMP5)
fprintf(fp, "5");
#elif defined(HAVE_OPENMP45)
fprintf(fp, "45");
#elif defined(HAVE_OPENMP4)
fprintf(fp, "4");
......
......@@ -5,6 +5,9 @@
#define OPENMP3 200805
#define OPENMP4 201307
#define OPENMP45 201511
#define OPENMP5 201905
#define OPENMP51 202011
#define OPENMP52 202111
#if _OPENMP >= OPENMP3
#define HAVE_OPENMP3 1
......@@ -17,6 +20,18 @@
#if _OPENMP >= OPENMP45
#define HAVE_OPENMP45 1
#endif
#if _OPENMP >= OPENMP5
#define HAVE_OPENMP5 1
#endif
#if _OPENMP >= OPENMP51
#define HAVE_OPENMP51 1
#endif
#if _OPENMP >= OPENMP52
#define HAVE_OPENMP52 1
#endif
#endif
int cdo_omp_get_thread_num(void);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment