diff options
Diffstat (limited to 'openmp/runtime/src/z_Linux_util.cpp')
-rw-r--r-- | openmp/runtime/src/z_Linux_util.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/openmp/runtime/src/z_Linux_util.cpp b/openmp/runtime/src/z_Linux_util.cpp index 21771e6..7aa704b 100644 --- a/openmp/runtime/src/z_Linux_util.cpp +++ b/openmp/runtime/src/z_Linux_util.cpp @@ -131,13 +131,14 @@ void __kmp_affinity_determine_capable(const char *env_var) { #define KMP_CPU_SET_SIZE_LIMIT (sizeof(cpuset_t)) #endif + int verbose = __kmp_affinity.flags.verbose; + int warnings = __kmp_affinity.flags.warnings; + enum affinity_type type = __kmp_affinity.type; + #if KMP_OS_LINUX long gCode; unsigned char *buf; buf = (unsigned char *)KMP_INTERNAL_MALLOC(KMP_CPU_SET_SIZE_LIMIT); - int verbose = __kmp_affinity.flags.verbose; - int warnings = __kmp_affinity.flags.warnings; - enum affinity_type type = __kmp_affinity.type; // If the syscall returns a suggestion for the size, // then we don't have to search for an appropriate size. |