[PATCH 14/40] openacc: Move pass_oacc_device_lower after pass_graphite

2021-12-15 Thread Frederik Harwath
ree_phiprop; } virtual unsigned int execute (function *); + opt_pass * clone () { return new pass_phiprop (m_ctxt); } + }; // class pass_phiprop unsigned int diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/pr85486-2.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/pr85486-2.c index

[OG11][committed][PATCH 02/22] openacc: Move pass_oacc_device_lower after pass_graphite

2021-11-17 Thread Frederik Harwath
The OpenACC device lowering pass must run after the Graphite pass to allow for the use of Graphite for automatic parallelization of kernels regions in the future. Experimentation has shown that it is best, performancewise, to run pass_oacc_device_lower together with the related passes pass_oacc_loo

Re: Move pass_oacc_device_lower after pass_graphite

2020-11-06 Thread Richard Biener via Gcc-patches
On Fri, Nov 6, 2020 at 12:18 PM Frederik Harwath wrote: > > > Hi Richard, > > Richard Biener writes: > > > On Tue, Nov 3, 2020 at 4:31 PM Frederik Harwath > > > What's on my TODO list (or on the list of things to explore) is to make > > the dump file names/suffixes explicit in passes.def like via

Re: Move pass_oacc_device_lower after pass_graphite

2020-11-06 Thread Frederik Harwath
Hi Richard, Richard Biener writes: > On Tue, Nov 3, 2020 at 4:31 PM Frederik Harwath > What's on my TODO list (or on the list of things to explore) is to make > the dump file names/suffixes explicit in passes.def like via > > NEXT_PASS (pass_ccp, true /* nonzero_p */, "oacc") > > and we'd ge

Re: Move pass_oacc_device_lower after pass_graphite

2020-11-04 Thread Richard Biener via Gcc-patches
On Tue, Nov 3, 2020 at 4:31 PM Frederik Harwath wrote: > > > Hi, > > as a first step towards enabling the use of Graphite for optimizing > OpenACC loops this patch moves the OpenACC device lowering after the > Graphite pass. This means that the device lowering now takes place > after some crucial

Move pass_oacc_device_lower after pass_graphite

2020-11-03 Thread Frederik Harwath
om 93fb166876a0540416e19c9428316d1370dd1e1b Mon Sep 17 00:00:00 2001 From: Frederik Harwath Date: Tue, 3 Nov 2020 12:58:37 +0100 Subject: [PATCH] Move pass_oacc_device_lower after pass_graphite As a first step towards enabling the use of Graphite for optimizing OpenACC loops, the OpenACC device lo