[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 16 08:45:53 PDT 2019
devnexen created this revision.
devnexen added reviewers: dim, chandlerc, jdoerfert.
devnexen created this object with visibility "All Users".
Herald added subscribers: openmp-commits, guansong.
Herald added a project: OpenMP.
Repository:
rOMP OpenMP
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.225235.patch
Type: text/x-patch
Size: 452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20191016/8eab65d1/attachment.bin>
More information about the Openmp-commits
mailing list