[Openmp-commits] [PATCH] D12449: Cleanup of affinity hierarchy code.

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Fri Aug 28 14:59:39 PDT 2015


jlpeyton created this revision.
jlpeyton added reviewers: AndreyChurbanov, hfinkel.
jlpeyton added a subscriber: openmp-commits.
jlpeyton set the repository for this revision to rL LLVM.

Some of this is improvement to code suggested by Hal Finkel. Four changes here:

1) Cleanup of hierarchy code to handle all hierarchy cases whether affinity is available or not
2) Separated this and other classes and common functions out to a header file
3) Added a destructor-like fini function for the hierarchy (and call in __kmp_cleanup)
4) Remove some redundant code that is hopefully no longer needed

Repository:
  rL LLVM

http://reviews.llvm.org/D12449

Files:
  runtime/src/kmp.h
  runtime/src/kmp_affinity.cpp
  runtime/src/kmp_affinity.h
  runtime/src/kmp_runtime.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12449.33472.patch
Type: text/x-patch
Size: 28740 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20150828/f9861b4c/attachment-0001.bin>


More information about the Openmp-commits mailing list