[Openmp-commits] [PATCH] D15867: New API for restoring current thread's affinity to initial affinity of application.
Andrey Churbanov via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jan 12 04:52:14 PST 2016
AndreyChurbanov added a subscriber: AndreyChurbanov.
AndreyChurbanov accepted this revision.
AndreyChurbanov added a reviewer: AndreyChurbanov.
AndreyChurbanov added a comment.
This revision is now accepted and ready to land.
May also worth adding comment in the code:
Note: supposed usage model is: (1) remember current affinity mask of the thread, (2) set initial mask by calling this routine, (3) use non-OpenMP parallelization, (4) restore affinity mask of the thread before returning to OpenMP parallelization.
More information about the Openmp-commits