summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/i18n
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-11-30 20:02:59 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-11-30 20:02:59 +0000
commit01dcf36bd54be75dcf6c3cc9cc8d1f20e783d86a (patch)
tree538111ad7545036c7e9d75ab83e37da63b4ddaa9 /openmp/runtime/src/i18n
parent7a096596b2eead02405329a5504b0d71dd5b4a8d (diff)
downloadbcm5719-llvm-01dcf36bd54be75dcf6c3cc9cc8d1f20e783d86a.tar.gz
bcm5719-llvm-01dcf36bd54be75dcf6c3cc9cc8d1f20e783d86a.zip
Adding Hwloc library option for affinity mechanism
These changes allow libhwloc to be used as the topology discovery/affinity mechanism for libomp. It is supported on Unices. The code additions: * Canonicalize KMP_CPU_* interface macros so bitmask operations are implementation independent and work with both hwloc bitmaps and libomp bitmaps. So there are new KMP_CPU_ALLOC_* and KMP_CPU_ITERATE() macros and the like. These are all in kmp.h and appropriately placed. * Hwloc topology discovery code in kmp_affinity.cpp. This uses the hwloc interface to create a libomp address2os object which the rest of libomp knows how to handle already. * To build, use -DLIBOMP_USE_HWLOC=on and -DLIBOMP_HWLOC_INSTALL_DIR=/path/to/install/dir [default /usr/local]. If CMake can't find the library or hwloc.h, then it will tell you and exit. Differential Revision: http://reviews.llvm.org/D13991 llvm-svn: 254320
Diffstat (limited to 'openmp/runtime/src/i18n')
-rw-r--r--openmp/runtime/src/i18n/en_US.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/openmp/runtime/src/i18n/en_US.txt b/openmp/runtime/src/i18n/en_US.txt
index f761b733f8a..11d57eb798c 100644
--- a/openmp/runtime/src/i18n/en_US.txt
+++ b/openmp/runtime/src/i18n/en_US.txt
@@ -405,6 +405,9 @@ AffGranTopGroup "%1$s: granularity=%2$s is not supported with KMP_T
AffGranGroupType "%1$s: granularity=group is not supported with KMP_AFFINITY=%2$s. Using \"granularity=core\"."
AffThrPlaceManySockets "KMP_PLACE_THREADS ignored: too many sockets requested."
AffThrPlaceDeprecated "KMP_PLACE_THREADS \"o\" offset designator deprecated, please use @ prefix for offset value."
+AffUsingHwloc "%1$s: Affinity capable, using hwloc."
+AffIgnoringHwloc "%1$s: Ignoring hwloc mechanism."
+AffHwlocErrorOccurred "%1$s: Hwloc failed in %2$s. Relying on internal affinity mechanisms."
# --------------------------------------------------------------------------------------------------
OpenPOWER on IntegriCloud