On 23.08.21 14:53, Jakub Jelinek wrote:
On Mon, Aug 23, 2021 at 02:14:46PM +0200, Tobias Burnus wrote:
+ unsigned capture:1, grainsize_strict, num_tasks_strict;
Missing :1 twice.
Fixed. Well spotted!
Otherwise LGTM, though maybe it would be better to commit separately the
change to handle
On Mon, Aug 23, 2021 at 02:14:46PM +0200, Tobias Burnus wrote:
> --- a/gcc/fortran/gfortran.h
> +++ b/gcc/fortran/gfortran.h
> @@ -1490,7 +1490,7 @@ typedef struct gfc_omp_clauses
>unsigned inbranch:1, notinbranch:1, nogroup:1;
>unsigned sched_simd:1, sched_monotonic:1, sched_nonmonotonic:1
Hi Jakub, hi all,
On 23.08.21 10:25, Jakub Jelinek wrote:
The following patch implements it for C and C++.
The attached patch now adds Fortran support for it,
which is a small change - the two testcases (in 4 files) are
the converted C ones.
Additionally, the previous diagnostic for duplicate
Hi!
With strict: modifier on these clauses, the standard is explicit about
how many iterations (and which) each generated task of taskloop directive
should contain. For num_tasks it actually matches what we were already
implementing, but for grainsize it does not (and even violates the old
rule -