This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Mark oacc kernels fns
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Nathan Sidwell <nathan at acm dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Tom de Vries <tom at codesourcery dot com>
- Date: Mon, 25 Jan 2016 16:09:14 +0100
- Subject: Re: Mark oacc kernels fns
- Authentication-results: sourceware.org; auth=none
- References: <568A922B dot 8010700 at acm dot org> <56A63A0A dot 2070304 at acm dot org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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