libgomp: Document 'GOMP_teams4' (was: GCN: Honor OpenMP 5.1 'num_teams' lower bound)

2024-07-16 Thread Thomas Schwinge
atches >>>> wrote: >>>>> And finally here is a third version, [...] >>>> >>>> ... which became commit 9fa72756d90e0d9edadf6e6f5f56476029925788 >>>> "libgomp, nvptx: Honor OpenMP 5.1 num_teams lower bound". >>>> >>

Re: GCN: Honor OpenMP 5.1 'num_teams' lower bound

2024-07-15 Thread Andrew Stubbs
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

Re: GCN: Honor OpenMP 5.1 'num_teams' lower bound

2024-07-15 Thread Thomas Schwinge
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

Re: GCN: Honor OpenMP 5.1 'num_teams' lower bound

2024-07-15 Thread Andrew Stubbs
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

GCN: Honor OpenMP 5.1 'num_teams' lower bound (was: [PATCH] libgomp, nvptx, v3: Honor OpenMP 5.1 num_teams lower bound)

2024-07-15 Thread Thomas Schwinge
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) >