[Openmp-commits] [PATCH] D69047: [OpenMP] Reset affinity mask in the process child on FreeBSD

David CARLIER via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Oct 30 07:56:41 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rG506992848729: [OpenMP] Reset affinity mask in the process child on FreeBSD (authored by devnexen).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69047

Files:
  openmp/runtime/src/z_Linux_util.cpp


Index: openmp/runtime/src/z_Linux_util.cpp
===================================================================
--- openmp/runtime/src/z_Linux_util.cpp
+++ openmp/runtime/src/z_Linux_util.cpp
@@ -1287,7 +1287,7 @@
   ++__kmp_fork_count;
 
 #if KMP_AFFINITY_SUPPORTED
-#if KMP_OS_LINUX
+#if KMP_OS_LINUX || KMP_OS_FREEBSD
   // reset the affinity in the child to the initial thread
   // affinity in the parent
   kmp_set_thread_affinity_mask_initial();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69047.227098.patch
Type: text/x-patch
Size: 452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20191030/96357611/attachment.bin>


More information about the Openmp-commits mailing list