On Tue, Jun 16, 2020 at 01:27:43PM +0200, Tobias Burnus wrote:
> when looking into a PURE/ELEMENTAL issue with OpenACC, Thomas and
> I came across the analogous OpenMP code – and stumbled over
> ELEMENTAL.
> 
> In Fortran, ELEMENTAL implies PURE but one can also have an IMPURE
> ELEMENTAL procedure.
> 
> As PR 79154 quotes, OpenMP 4 had:
> "OpenMP directives may not appear in PURE or ELEMENTAL procedures."
> 
> While OpenMP 4.5 (and later) have:
> "OpenMP directives, except SIMD and declare target directives,
>  may not appear in pure procedures."
> 
> ELEMENTAL is still mentioned – but only for:
> "OpenMP runtime library routines may not be called
>  from PURE or ELEMENTAL procedures."
> 
> OK for the trunk?

Ok.

        Jakub

Reply via email to