Re: [patch,openacc] Propagate independent clause for OpenACC kernels pass

2018-12-06 Thread Richard Biener
On Wed, 5 Dec 2018, Julian Brown wrote: > On Tue, 4 Dec 2018 14:55:03 +0100 > Richard Biener wrote: > > > On Tue, 4 Dec 2018, Jakub Jelinek wrote: > > > > > On Mon, Dec 03, 2018 at 11:40:39PM +, Julian Brown wrote: > > > > Jakub asked in the following email at the time of the patch > > >

Re: [patch,openacc] Propagate independent clause for OpenACC kernels pass

2018-12-05 Thread Julian Brown
On Tue, 4 Dec 2018 14:55:03 +0100 Richard Biener wrote: > On Tue, 4 Dec 2018, Jakub Jelinek wrote: > > > On Mon, Dec 03, 2018 at 11:40:39PM +, Julian Brown wrote: > > > Jakub asked in the following email at the time of the patch > > > submission for the gomp4 branch what the difference was

Re: [patch,openacc] Propagate independent clause for OpenACC kernels pass

2018-12-04 Thread Richard Biener
On Tue, 4 Dec 2018, Jakub Jelinek wrote: > On Mon, Dec 03, 2018 at 11:40:39PM +, Julian Brown wrote: > > Jakub asked in the following email at the time of the patch submission > > for the gomp4 branch what the difference was between the new > > marked_independent flag and safelen == INT_MAX: >

Re: [patch,openacc] Propagate independent clause for OpenACC kernels pass

2018-12-04 Thread Jakub Jelinek
On Thu, Sep 20, 2018 at 11:06:40AM -0700, Cesar Philippidis wrote: > 2018-XX-YY Chung-Lin Tang > Cesar Philippidis > > gcc/ > * cfgloop.h (struct loop): Add 'bool marked_independent' field. > * omp-expand.c (struct omp_region): Add 'int kind' and > 'bool indep

Re: [patch,openacc] Propagate independent clause for OpenACC kernels pass

2018-12-04 Thread Jakub Jelinek
On Mon, Dec 03, 2018 at 11:40:39PM +, Julian Brown wrote: > Jakub asked in the following email at the time of the patch submission > for the gomp4 branch what the difference was between the new > marked_independent flag and safelen == INT_MAX: > > https://gcc.gnu.org/ml/gcc-patches/2015-07/m

Re: [patch,openacc] Propagate independent clause for OpenACC kernels pass

2018-12-03 Thread Julian Brown
On Thu, 20 Sep 2018 11:06:40 -0700 Cesar Philippidis wrote: > This is another old patch teaches the omp expansion pass how to > propagate the acc loop independent clause to the later stages > throughout compilation. Unfortunately, it didn't include any test > cases. I'm not sure how effective thi

[patch,openacc] Propagate independent clause for OpenACC kernels pass

2018-09-20 Thread Cesar Philippidis
This is another old patch teaches the omp expansion pass how to propagate the acc loop independent clause to the later stages throughout compilation. Unfortunately, it didn't include any test cases. I'm not sure how effective this will be with the existing kernel parloops pass. But as I noted in my