On Mon, Nov 15, 2021 at 02:00:42PM +0100, Tobias Burnus wrote:
> Hi,
> 
> On 15.11.21 13:05, Jakub Jelinek wrote:
> > OpenMP 5.1 says that thread_limit clause can also appear on target,
> > and similarly to teams should affect the thread-limit-var ICV.
> > On combined target teams, the clause goes to both.
> 
> This patch does this also for Fortran.
> 
> OK, once the post-bootstap testing finished successfully?

Ok, thanks.

> gcc/fortran/ChangeLog:
> 
>       * openmp.c (OMP_TARGET_CLAUSES): Add thread_limit.
>       * trans-openmp.c (gfc_split_omp_clauses): Add thread_limit also to
>       teams.
> 
> libgomp/ChangeLog:
> 
>       * testsuite/libgomp.fortran/thread-limit-1.f90: New test.

        Jakub

Reply via email to