[Openmp-commits] [PATCH] D95816: [OpenMP] libomp: minor changes to improve library performance
Andrey Churbanov via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Feb 1 13:25:23 PST 2021
AndreyChurbanov created this revision.
AndreyChurbanov added reviewers: hbae, jlpeyton, tlwilmar, Nawrin.
AndreyChurbanov added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
AndreyChurbanov requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, sstefan1.
Three minor changes in this patch:
- added UNLIKELY hint to few rarely executed branches;
- replaced couple of run time checks with debug assertions;
- moved check of presence of ittnotify tool from inside the function call.
These three changes incrementally improve library performance on SpecOMP2012 376.kdtree test to 1.5% in total
(used Intel 19 compiler + libomp on 2x24-core Intel CLX system).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D95816
Files:
openmp/runtime/src/kmp_tasking.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95816.320573.patch
Type: text/x-patch
Size: 4548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210201/4b84c8c3/attachment.bin>
More information about the Openmp-commits
mailing list