[Openmp-commits] [openmp] r314243 - Allow printing of KMP_TOPOLOGY_METHOD when KMP_SETTINGS=true

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Tue Sep 26 13:33:53 PDT 2017


Author: jlpeyton
Date: Tue Sep 26 13:33:53 2017
New Revision: 314243

URL: http://llvm.org/viewvc/llvm-project?rev=314243&view=rev
Log:
Allow printing of KMP_TOPOLOGY_METHOD when KMP_SETTINGS=true

Modified:
    openmp/trunk/runtime/src/kmp_settings.cpp

Modified: openmp/trunk/runtime/src/kmp_settings.cpp
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_settings.cpp?rev=314243&r1=314242&r2=314243&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_settings.cpp (original)
+++ openmp/trunk/runtime/src/kmp_settings.cpp Tue Sep 26 13:33:53 2017
@@ -2951,7 +2951,6 @@ static void __kmp_stg_parse_topology_met
 
 static void __kmp_stg_print_topology_method(kmp_str_buf_t *buffer,
                                             char const *name, void *data) {
-#if KMP_DEBUG
   char const *value = NULL;
 
   switch (__kmp_affinity_top_method) {
@@ -2997,7 +2996,6 @@ static void __kmp_stg_print_topology_met
   if (value != NULL) {
     __kmp_stg_print_str(buffer, name, value);
   }
-#endif /* KMP_DEBUG */
 } // __kmp_stg_print_topology_method
 
 #endif /* KMP_AFFINITY_SUPPORTED */




More information about the Openmp-commits mailing list