Add use of TPAUSE (from WAITPKG) to the runtime for Intel hardware, with an envirable KMP_TPAUSE to turn it on in a particular C-state. Always uses TPAUSE if it is selected and enabled by Intel hardware and presence of WAITPKG, and if not, falls back to old way of checking __kmp_use_yield, etc.
Details
Details
- Reviewers
AndreyChurbanov jlpeyton jdoerfert - Commits
- rG2e02579a76cf: [OpenMP] Add use of TPAUSE
Summary
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
tlwilmar retitled this revision from [OpenMP][CPU runtime] to [OpenMP][CPU runtime] Add us of TPAUSE to the runtime.Dec 14 2021, 1:21 PM
tlwilmar retitled this revision from [OpenMP][CPU runtime] Add us of TPAUSE to the runtime to [OpenMP][CPU runtime] Add use of TPAUSE to the runtime.
This revision is now accepted and ready to land.Jan 4 2022, 7:20 AM
This revision was landed with ongoing or failed builds.Jan 18 2022, 8:14 AM
This revision was automatically updated to reflect the committed changes.