diff options
author | Thomas Schwinge <tschwinge@baylibre.com> | 2024-07-15 11:19:28 +0200 |
---|---|---|
committer | Thomas Schwinge <tschwinge@baylibre.com> | 2024-07-19 21:55:47 +0200 |
commit | f9119948cedefa07a667e8beacbd5317a4d8ec1b (patch) | |
tree | d57aeda6346ac8f3ee769a42f04b573540f1342a /libgomp/target.c | |
parent | 385004846dc6437bab9b3b7d8b071ce1c3418384 (diff) | |
download | gcc-f9119948cedefa07a667e8beacbd5317a4d8ec1b.zip gcc-f9119948cedefa07a667e8beacbd5317a4d8ec1b.tar.gz gcc-f9119948cedefa07a667e8beacbd5317a4d8ec1b.tar.bz2 |
GCN: Honor OpenMP 5.1 'num_teams' lower bound
Corresponding to commit 9fa72756d90e0d9edadf6e6f5f56476029925788
"libgomp, nvptx: Honor OpenMP 5.1 num_teams lower bound", these are the
GCN offloading changes to fix:
PASS: libgomp.c/../libgomp.c-c++-common/teams-2.c (test for excess errors)
[-FAIL:-]{+PASS:+} libgomp.c/../libgomp.c-c++-common/teams-2.c execution test
PASS: libgomp.c++/../libgomp.c-c++-common/teams-2.c (test for excess errors)
[-FAIL:-]{+PASS:+} libgomp.c++/../libgomp.c-c++-common/teams-2.c execution test
..., and omptests' 't-critical' test case. I've cross checked that those test
cases are the ones that regress for nvptx offloading, if I locally revert the
"libgomp, nvptx: Honor OpenMP 5.1 num_teams lower bound" changes.
libgomp/
* config/gcn/libgomp-gcn.h (GOMP_TEAM_NUM): Inject.
* config/gcn/target.c (GOMP_teams4): Handle.
* config/gcn/team.c (gomp_gcn_enter_kernel): Initialize.
* config/gcn/teams.c (omp_get_team_num): Adjust.
Diffstat (limited to 'libgomp/target.c')
0 files changed, 0 insertions, 0 deletions