Re: [PATCH] openmp: Add support for thread_limit clause on target

2021-11-15 Thread Jakub Jelinek via Gcc-patches
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

Re: [PATCH] openmp: Add support for thread_limit clause on target

2021-11-15 Thread Tobias Burnus
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 t

[PATCH] openmp: Add support for thread_limit clause on target

2021-11-15 Thread Jakub Jelinek via Gcc-patches
Hi! 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. We actually passed thread_limit internally on target already before, but only used it for gcn/ptx offloading to