[Openmp-commits] [PATCH] D92587: [OpenMP] Fix norespect affinity bug for Windows
Jonathan Peyton via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Dec 3 10:21:44 PST 2020
jlpeyton created this revision.
jlpeyton added reviewers: AndreyChurbanov, tlwilmar.
jlpeyton added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
jlpeyton requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.
KMP_AFFINITY=norespect was triggering an error because the underlying
process affinity mask was not updated to include the entire machine.
The Windows documentation states that the thread affinities must be
subsets of the process affinity. This patch also moves the printing (for KMP_AFFINITY=verbose) of whether the initial mask was respected out of each topology detection function and to one location where the initial affinity mask is read.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92587
Files:
openmp/runtime/src/kmp.h
openmp/runtime/src/kmp_affinity.cpp
openmp/runtime/src/kmp_affinity.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92587.309299.patch
Type: text/x-patch
Size: 11213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20201203/bc6f4717/attachment-0001.bin>
More information about the Openmp-commits
mailing list