Added UNLIKELY hint to one-time or rarely executed branches.
This improves performance of the library on some tasking benchmarks.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D92322
[OpenMP] libomp: add UNLIKELY hints to rarely executed branches ClosedPublic Authored by AndreyChurbanov on Nov 30 2020, 6:55 AM.
Details Summary Added UNLIKELY hint to one-time or rarely executed branches.
Diff Detail Event TimelineHerald added subscribers: openmp-commits, guansong, yaxunl. · View Herald TranscriptNov 30 2020, 6:55 AM This revision is now accepted and ready to land.Nov 30 2020, 5:23 PM Closed by commit rG6bf84871e938: [OpenMP] libomp: add UNLIKELY hints to rarely executed branches (authored by AndreyChurbanov). · Explain WhyDec 1 2020, 5:53 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 308479 openmp/runtime/src/kmp_itt.inl
openmp/runtime/src/kmp_tasking.cpp
|