[PATCH] libgomp, nvptx, v3: Honor OpenMP 5.1 num_teams lower bound

Jakub Jelinek jakub@redhat.com
Fri Nov 12 19:49:05 GMT 2021

On Fri, Nov 12, 2021 at 08:47:09PM +0100, Jakub Jelinek wrote:
> The problem is that the argument of the num_teams clause isn't always known
> before target is launched.

There was a design mistake that the clause has been put on teams rather than
on target (well, for host teams we need it on teams), and 5.1 actually
partially fixes this up for thread_limit by allowing that clause on both,
but not for num_teams.


More information about the Gcc-patches mailing list