summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/test/affinity/bug-nested.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove REQUIRES OMP spec version within lit testsJonathan Peyton2019-07-171-1/+0
| | | | | | | | This is a follow up patch to D64534 (r365963) which removed all OMP spec versioning within the OpenMP runtime codebase. This patch removes REQUIRES: openmp-x.y lines from lit tests. llvm-svn: 366341
* [OpenMP] Fix for nested proc_bind affinity bugJonathan Peyton2019-01-151-0/+33
Using proc_bind clause on a nested #pragma omp parallel region with KMP_AFFINITY set causes an assertion error. This assertion occurs because the place-partition-var is not properly initialized in the nested master threads. Trying to get an intuitive result with KMP_AFFINITY + proc_bind is difficult because of how the KMP_AFFINITY gtid-to-place mapping occurs. This patch creates an initial place list no matter what affinity mechanism is used. For KMP_AFFINITY, the place-partition-var is initialized to all the places. Differential Revision: https://reviews.llvm.org/D55795 llvm-svn: 351227
OpenPOWER on IntegriCloud