[Openmp-commits] [openmp] r269443 - NFC fix indent (relates to my previous commit)
Paul Osmialowski via Openmp-commits
openmp-commits at lists.llvm.org
Fri May 13 10:45:50 PDT 2016
Author: pawosm01
Date: Fri May 13 12:45:49 2016
New Revision: 269443
URL: http://llvm.org/viewvc/llvm-project?rev=269443&view=rev
Log:
NFC fix indent (relates to my previous commit)
Modified:
openmp/trunk/runtime/src/kmp_settings.c
Modified: openmp/trunk/runtime/src/kmp_settings.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_settings.c?rev=269443&r1=269442&r2=269443&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_settings.c (original)
+++ openmp/trunk/runtime/src/kmp_settings.c Fri May 13 12:45:49 2016
@@ -5280,7 +5280,7 @@ __kmp_env_initialize( char const * strin
if(__kmp_affinity_verbose)
KMP_WARNING(AffHwlocErrorOccurred, var, "hwloc_topology_init()");
}
-# if HWLOC_API_VERSION >= 0x00020000
+# if HWLOC_API_VERSION >= 0x00020000
// new hwloc API
hwloc_topology_set_type_filter(__kmp_hwloc_topology, HWLOC_OBJ_L1CACHE, HWLOC_TYPE_FILTER_KEEP_NONE);
hwloc_topology_set_type_filter(__kmp_hwloc_topology, HWLOC_OBJ_L2CACHE, HWLOC_TYPE_FILTER_KEEP_NONE);
@@ -5290,10 +5290,10 @@ __kmp_env_initialize( char const * strin
hwloc_topology_set_type_filter(__kmp_hwloc_topology, HWLOC_OBJ_L1ICACHE, HWLOC_TYPE_FILTER_KEEP_NONE);
hwloc_topology_set_type_filter(__kmp_hwloc_topology, HWLOC_OBJ_L2ICACHE, HWLOC_TYPE_FILTER_KEEP_NONE);
hwloc_topology_set_type_filter(__kmp_hwloc_topology, HWLOC_OBJ_L3ICACHE, HWLOC_TYPE_FILTER_KEEP_NONE);
-# else
+# else
// old hwloc API
hwloc_topology_ignore_type(__kmp_hwloc_topology, HWLOC_OBJ_CACHE);
-# endif
+# endif
# endif
if ( __kmp_affinity_type == affinity_disabled ) {
KMP_AFFINITY_DISABLE();
More information about the Openmp-commits
mailing list