https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109875
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
FIXED the issue that the number of teams in target regions exceeded the limit
set by the nteams-var ICV. (→ GCC mainline/14).
Unsolved: Checking whether the omp_get_max_teams() returns the proper value or
not. — This depends on the outcome of OpenMP Spec Issue 3619.
Still close this issue as a likely solution could be to keep the current
implementation (init = 0, return value of the ICV, which is 0), possibly except
for permitting 0 for the env var (0 is already accepted for
omp_set_num_devices), but the outcome should be tracked in a new issue.