100061452c97b5c0b3278af1083b41f4aa357e35
The OMP_PROC_BIND=spread strategy fails to assign the master thread the correct place partition after the first parallel region. Other threads in the hot team will remember their place_partition, but the master's place partition is restored to what it was before entering the parallel region. So when the hot team is used for subsequent parallel regions, the master has lost this info. This fix calls __kmp_partition_places to update only the master thread's place partition in the spread case when there are no other changes to the hot team. Patch by Terry Wilmarth Differential Revision: http://reviews.llvm.org/D20539 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@270890 91177308-0d34-0410-b5e6-96231b3b80d8
Description
No description provided
11 MiB
Languages
C++
68.3%
C
19%
Perl
3.8%
Cuda
3.2%
CMake
3.1%
Other
2.5%