[OpenMP] Extend omp teams to permit nested omp atomicOpenMP 5.2, sec. 10.2 "teams Construct", p. 232, L9-12 restricts whatregions can be strictly nested within a `teams` construct. This patchrel
[OpenMP] Extend omp teams to permit nested omp atomicOpenMP 5.2, sec. 10.2 "teams Construct", p. 232, L9-12 restricts whatregions can be strictly nested within a `teams` construct. This patchrelaxes Clang's enforcement of this restriction in the case of nested`atomic` constructs unless `-fno-openmp-extensions` is specified.Cases like the following then seem to work fine with no additionalimplementation changes:``` #pragma omp target teams map(tofrom:x) #pragma omp atomic update x++;```Reviewed By: ABataevDifferential Revision: https://reviews.llvm.org/D126323
show more ...
[OpenMP] libomp: fix bug in implementation of distribute construct.Fixed mistaken iterations distribution between different target regions.Differential Revision: https://reviews.llvm.org/D118393
[OpenMP][Tests][NFC] Mark tests trying to link COI as unsupportedFor some tests with target-related functionality icc 18/19 tries to linklibioffload_target.so.5, which fails for missing COI symbol
[OpenMP][Tests][NFC] Mark tests trying to link COI as unsupportedFor some tests with target-related functionality icc 18/19 tries to linklibioffload_target.so.5, which fails for missing COI symbols.
[OpenMP] NFC: fix test removing the target construct
[OpenMP] fix test adding mapping of shared variables
[OpenMP] Add lower and upper bound in num_teams clauseThis patch adds lower-bound and upper-bound to num_teams clauseaccording to OpenMP 5.1 specification. The initial number of teamscreated is i
[OpenMP] Add lower and upper bound in num_teams clauseThis patch adds lower-bound and upper-bound to num_teams clauseaccording to OpenMP 5.1 specification. The initial number of teamscreated is implementation defined, but it will be greater than orequal to lower-bound and less than or equal to upper-bound. Ifnum_teams clause is not specified, the number of teams created isimplementation defined, but it will be greater or equal to 1.Differential Revision: https://reviews.llvm.org/D95820
[OpenMP] Introduce GOMP teams support in runtimeImplement GOMP_teams_reg() function which enables GOMP support of thestandalone teams construct. The GOMP_parallel* functions were modifiedto call
[OpenMP] Introduce GOMP teams support in runtimeImplement GOMP_teams_reg() function which enables GOMP support of thestandalone teams construct. The GOMP_parallel* functions were modifiedto call __kmp_fork_call() unconditionally so that the teams-specificcode could be reused within __kmp_fork_call() instead of reproducedinside the GOMP_* functions.Differential Revision: https://reviews.llvm.org/D87167