[Openmp-commits] [PATCH] D14455: Improvements to machine_hierarchy code for re-sizing
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Fri Nov 6 10:59:38 PST 2015
jlpeyton created this revision.
jlpeyton added reviewers: tlwilmar, AndreyChurbanov, hfinkel.
jlpeyton added a subscriber: openmp-commits.
jlpeyton set the repository for this revision to rL LLVM.
These changes include:
1. Machine hierarchy now uses the `base_num_threads` field to indicate the
maximum number of threads the current hierarchy can handle without a resize.
2. In `__kmp_get_hierarchy`, we need to get depth after any potential resize
is done.
3. Cleanup of hierarchy resize code to support 1 above.
Repository:
rL LLVM
http://reviews.llvm.org/D14455
Files:
runtime/src/kmp_affinity.cpp
runtime/src/kmp_affinity.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14455.39561.patch
Type: text/x-patch
Size: 4732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20151106/7adffa71/attachment.bin>
More information about the Openmp-commits
mailing list