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 the heuristic of seeing if all the dimensions are 
> >defaulted
> >  (which can easily be true for parallel offloads at that point).
> >
> >This patch marks TREE_PUBLIC on the offload attribute values, to note kernels
> >regions,  and adds a predicate to check that.  I also broke out the function
> >level determination from oacc_validate_dims, as there it was only laziness 
> >on my
> >part to have not done that earlier.
> >
> >Using these predicates improves the dump output of the openacc device 
> >lowering
> >pass too.
> >
> >ok?
> 
> https://gcc.gnu.org/ml/gcc-patches/2016-01/msg00092.html
> ping?

Ok, thanks.

        Jakub

Reply via email to