diff options
Diffstat (limited to 'openmp/runtime/src/kmp_global.c')
-rw-r--r-- | openmp/runtime/src/kmp_global.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/openmp/runtime/src/kmp_global.c b/openmp/runtime/src/kmp_global.c index 63e9dc38c84..2cf0e2fa5e0 100644 --- a/openmp/runtime/src/kmp_global.c +++ b/openmp/runtime/src/kmp_global.c @@ -35,10 +35,6 @@ __thread kmp_stats_list* __kmp_stats_thread_ptr = &__kmp_stats_list; // gives reference tick for all events (considered the 0 tick) tsc_tick_count __kmp_stats_start_time; #endif -#if KMP_USE_HWLOC -int __kmp_hwloc_error = FALSE; -hwloc_topology_t __kmp_hwloc_topology = NULL; -#endif /* ----------------------------------------------------- */ /* INITIALIZATION VARIABLES */ @@ -220,6 +216,11 @@ enum mic_type __kmp_mic_type = non_mic; #if KMP_AFFINITY_SUPPORTED +# if KMP_USE_HWLOC +int __kmp_hwloc_error = FALSE; +hwloc_topology_t __kmp_hwloc_topology = NULL; +# endif + # if KMP_GROUP_AFFINITY int __kmp_num_proc_groups = 1; |