https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70895
--- Comment #4 from cesar at gcc dot gnu.org ---
(In reply to Thomas Schwinge from comment #3)
> (In reply to cesar from comment #2)
> > Consequently, you need to
> > explicitly use num_gangs, num_workers and vector_length to determine the
> >
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70895
--- Comment #3 from Thomas Schwinge ---
(In reply to cesar from comment #2)
> Furthermore, as Thomas mentioned, gcc-6 does not automatically assign
> parallelism to loops inside parallel regions.
:-) GCC 6.1 does do that that.
> Consequently,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70895
--- Comment #2 from cesar at gcc dot gnu.org ---
Thomas is correct. Note that when gcc-6.2 is released you should be able to
replace
!$acc parallel vector_length(vl)
!$acc loop reduction(+:pi) private(t)
with
!$acc parallel loop
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70895
Thomas Schwinge changed:
What|Removed |Added
Keywords||openacc