summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_utility.c
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/src/kmp_utility.c')
-rw-r--r--openmp/runtime/src/kmp_utility.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openmp/runtime/src/kmp_utility.c b/openmp/runtime/src/kmp_utility.c
index b112e022b43..7ba34fce022 100644
--- a/openmp/runtime/src/kmp_utility.c
+++ b/openmp/runtime/src/kmp_utility.c
@@ -30,7 +30,9 @@ static const char *unknown = "unknown";
/* the debugging package has not been initialized yet, and only "0" will print */
/* debugging output since the environment variables have not been read. */
+#ifdef KMP_DEBUG
static int trace_level = 5;
+#endif
/*
* LOG_ID_BITS = ( 1 + floor( log_2( max( log_per_phy - 1, 1 ))))
@@ -136,7 +138,9 @@ __kmp_query_cpuid( kmp_cpuinfo_t *p )
struct kmp_cpuid buf;
int max_arg;
int log_per_phy;
+#ifdef KMP_DEBUG
int cflush_size;
+#endif
p->initialized = 1;
OpenPOWER on IntegriCloud