[Openmp-commits] [PATCH] D115758: [OpenMP][CPU runtime]

Terry Wilmarth via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 14 13:21:17 PST 2021


tlwilmar created this revision.
tlwilmar added reviewers: AndreyChurbanov, jlpeyton.
tlwilmar added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
tlwilmar requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115758

Files:
  openmp/runtime/src/kmp.h
  openmp/runtime/src/kmp_dispatch.cpp
  openmp/runtime/src/kmp_dispatch.h
  openmp/runtime/src/kmp_global.cpp
  openmp/runtime/src/kmp_lock.cpp
  openmp/runtime/src/kmp_lock.h
  openmp/runtime/src/kmp_runtime.cpp
  openmp/runtime/src/kmp_settings.cpp
  openmp/runtime/src/kmp_tasking.cpp
  openmp/runtime/src/kmp_wait_release.h
  openmp/runtime/src/z_Windows_NT_util.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115758.394372.patch
Type: text/x-patch
Size: 21144 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20211214/68013b22/attachment-0001.bin>


More information about the Openmp-commits mailing list