atches
>>>> wrote:
>>>>> And finally here is a third version, [...]
>>>>
>>>> ... which became commit 9fa72756d90e0d9edadf6e6f5f56476029925788
>>>> "libgomp, nvptx: Honor OpenMP 5.1 num_teams lower bound".
>>>>
>>
9fa72756d90e0d9edadf6e6f5f56476029925788
"libgomp, nvptx: Honor OpenMP 5.1 num_teams lower bound".
Attached here is "GCN: Honor OpenMP 5.1 'num_teams' lower bound", which
are exactly the corresponding changes for GCN (see below Jakub's nvptx
changes for reference); OK to
2756d90e0d9edadf6e6f5f56476029925788
>> "libgomp, nvptx: Honor OpenMP 5.1 num_teams lower bound".
>>
>> Attached here is "GCN: Honor OpenMP 5.1 'num_teams' lower bound", which
>> are exactly the corresponding changes for GCN (see below Jakub
Attached here is "GCN: Honor OpenMP 5.1 'num_teams' lower bound", which
are exactly the corresponding changes for GCN (see below Jakub's nvptx
changes for reference); OK to push?
--- a/libgomp/config/gcn/target.c
+++ b/libgomp/config/gcn/target.c
@@ -33,26 +33,37
t __gomp_team_num __attribute__((shared));
> +
> void
> GOMP_teams_reg (void (*fn) (void *), void *data, unsigned int num_teams,
> unsigned int thread_limit, unsigned int flags)
> @@ -48,9 +50,7 @@ omp_get_num_teams (void)
> int
> omp_get_team_num (void)
>