This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: OpenACC 2.5 default (present) clause


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]