Current atfork() handler for child processes does not reset the affinity masks array which prevents users from setting their own affinity in child processes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D99218
[OpenMP] Allow affinity to re-detect for child processes ClosedPublic Authored by jlpeyton on Mar 23 2021, 3:03 PM.
Details Summary Current atfork() handler for child processes does not reset the affinity masks array which prevents users from setting their own affinity in child processes.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 7 2021, 7:17 AM Closed by commit rG5ebbb366c4a3: [OpenMP] Allow affinity to re-detect for child processes (authored by jlpeyton). · Explain WhyApr 16 2021, 2:35 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 338240 openmp/runtime/src/z_Linux_util.cpp
openmp/runtime/test/affinity/libomp_test_affinity.h
openmp/runtime/test/affinity/redetect.c
|