]> git.ipfire.org Git - people/ms/gcc.git/commit
libgomp amdgcn: Fix issues with dynamic OpenMP thread scaling
authorAndrew Stubbs <ams@codesourcery.com>
Tue, 3 Aug 2021 12:45:35 +0000 (13:45 +0100)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Tue, 21 Jun 2022 13:11:40 +0000 (14:11 +0100)
commit157e8afa90f795c17a18fa702fe1b9e6ffde44e3
treef4c1c5313accdf7d4c83b8a83f3e32c71312489a
parent35b976d48e91a2422c7163c391d57e35daa40e5f
libgomp amdgcn: Fix issues with dynamic OpenMP thread scaling

libgomp/ChangeLog:

* config/gcn/bar.h (gomp_barrier_init): Limit thread count to the
actual physical number.
* config/gcn/team.c (gomp_team_start): Don't attempt to set up
threads that do not exist.
libgomp/ChangeLog.omp
libgomp/config/gcn/bar.h
libgomp/config/gcn/team.c