Use "oacc kernels" attribute for OpenACC kernels (was: Mark oacc kernels fns)

2016-07-27 Thread Thomas Schwinge
Hi! On Mon, 25 Jan 2016 16:09:14 +0100, Jakub Jelinek wrote: > On Mon, Jan 25, 2016 at 10:06:50AM -0500, Nathan Sidwell wrote: > > On 01/04/16 10:39, Nathan Sidwell wrote: > > >There's currently no robust predicate to determine whether an oacc offload > > >function is for a kernels region (as opp

Re: Mark oacc kernels fns

2016-01-25 Thread Jakub Jelinek
On Mon, Jan 25, 2016 at 10:06:50AM -0500, Nathan Sidwell wrote: > On 01/04/16 10:39, Nathan Sidwell wrote: > >There's currently no robust predicate to determine whether an oacc offload > >function is for a kernels region (as opposed to a parallel region). The > >test in > >tree-ssa-loop.c uses th

Re: Mark oacc kernels fns

2016-01-25 Thread Nathan Sidwell
On 01/04/16 10:39, Nathan Sidwell wrote: There's currently no robust predicate to determine whether an oacc offload function is for a kernels region (as opposed to a parallel region). The test in tree-ssa-loop.c uses the heuristic of seeing if all the dimensions are defaulted (which can easily

Mark oacc kernels fns

2016-01-04 Thread Nathan Sidwell
There's currently no robust predicate to determine whether an oacc offload function is for a kernels region (as opposed to a parallel region). The test in tree-ssa-loop.c uses the heuristic of seeing if all the dimensions are defaulted (which can easily be true for parallel offloads at that po