diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-11-15 08:54:52 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-11-15 08:58:39 +0100 |
commit | d29445972065f54566402b255d76b2567e23d445 (patch) | |
tree | 31e83c94cc017f00667cc6d4da6003ab4eae6062 /gcc/function-tests.c | |
parent | 2317082c151e5580e0bfe5fcfbd0e9d0172446c9 (diff) | |
download | gcc-d29445972065f54566402b255d76b2567e23d445.zip gcc-d29445972065f54566402b255d76b2567e23d445.tar.gz gcc-d29445972065f54566402b255d76b2567e23d445.tar.bz2 |
libgomp: Add a testcase for omp_get_num_teams inside of target inside of host teams
This is https://github.com/OpenMP/spec/issues/3183
There is an agreement that we should return 1 team inside of target,
even if that target is inside of host teams. We were doing that
when offloading and not during host fallback, r12-5151 should fix that
even for host fallback.
2021-11-15 Jakub Jelinek <jakub@redhat.com>
* testsuite/libgomp.c/teams-5.c: New test.
Diffstat (limited to 'gcc/function-tests.c')
0 files changed, 0 insertions, 0 deletions