[Openmp-commits] [PATCH] D154650: [OpenMP] Re-use affinity raii class in worker spawning

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jul 6 21:00:46 PDT 2023


jdoerfert accepted this revision.
jdoerfert added inline comments.
This revision is now accepted and ready to land.


================
Comment at: openmp/runtime/src/kmp_runtime.cpp:5436
-        if (KMP_AFFINITY_CAPABLE()) {
-          /* Restore initial primary thread's affinity mask */
-          __kmp_set_system_affinity(old_mask, TRUE);
----------------
You can keep the comment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154650/new/

https://reviews.llvm.org/D154650



More information about the Openmp-commits mailing list