OpenACC 2.5 default (present) clause
Jakub Jelinek
jakub@redhat.com
Tue May 23 10:41:00 GMT 2017
On Fri, May 19, 2017 at 03:46:53PM +0200, Thomas Schwinge wrote:
> > > - /* OpenMP clause: default. */
> > > + /* OpenACC clause: default ( none | present ).
> > > +
> > > + OpenMP clause: default ( firstprivate | none | private | shared ). */
> > > OMP_CLAUSE_DEFAULT,
> > >
> > > /* OpenACC/OpenMP clause: collapse (constant-integer-expression). */
> >
> > I think this hunk isn't needed (plus it is not accurate anyway).
>
> Now you got me curious: why isn't it accurate?
Because the clause in OpenMP is default ( shared | none ) for C/C++
and default ( private | firstprivate | shared | none ) for Fortran.
Jakub
More information about the Gcc-patches
mailing list