Re: [gomp4] openacc kernels directive support

2014-09-30 Thread Tom de Vries
On 22-09-14 10:28, Richard Biener wrote: On Tue, 16 Sep 2014, Tom de Vries wrote: On 09-09-14 12:56, Richard Biener wrote: On Tue, 9 Sep 2014, Tom de Vries wrote: On 18-08-14 14:16, Tom de Vries wrote: On 06-08-14 17:10, Tom de Vries wrote: We could insert a pass-group here that only

Re: [gomp4] openacc kernels directive support

2014-09-22 Thread Richard Biener
On Tue, 16 Sep 2014, Tom de Vries wrote: On 09-09-14 12:56, Richard Biener wrote: On Tue, 9 Sep 2014, Tom de Vries wrote: On 18-08-14 14:16, Tom de Vries wrote: On 06-08-14 17:10, Tom de Vries wrote: We could insert a pass-group here that only deals with functions that have

Re: [gomp4] openacc kernels directive support

2014-09-16 Thread Tom de Vries
On 09-09-14 12:56, Richard Biener wrote: On Tue, 9 Sep 2014, Tom de Vries wrote: On 18-08-14 14:16, Tom de Vries wrote: On 06-08-14 17:10, Tom de Vries wrote: We could insert a pass-group here that only deals with functions that have the kernels directive, and do the auto-par thing in a

Re: [gomp4] openacc kernels directive support

2014-09-16 Thread Richard Biener
On September 16, 2014 5:34:15 PM CEST, Tom de Vries tom_devr...@mentor.com wrote: On 09-09-14 12:56, Richard Biener wrote: On Tue, 9 Sep 2014, Tom de Vries wrote: On 18-08-14 14:16, Tom de Vries wrote: On 06-08-14 17:10, Tom de Vries wrote: We could insert a pass-group here that only deals

Re: [gomp4] openacc kernels directive support

2014-09-09 Thread Tom de Vries
On 18-08-14 14:16, Tom de Vries wrote: On 06-08-14 17:10, Tom de Vries wrote: We could insert a pass-group here that only deals with functions that have the kernels directive, and do the auto-par thing in a pass_oacc_kernels (which should share the majority of the infrastructure with the

Re: [gomp4] openacc kernels directive support

2014-09-09 Thread Richard Biener
On Tue, 9 Sep 2014, Tom de Vries wrote: On 18-08-14 14:16, Tom de Vries wrote: On 06-08-14 17:10, Tom de Vries wrote: We could insert a pass-group here that only deals with functions that have the kernels directive, and do the auto-par thing in a pass_oacc_kernels (which should

Re: [gomp4] openacc kernels directive support

2014-08-18 Thread Tom de Vries
On 06-08-14 17:10, Tom de Vries wrote: The place after build_ealias is early enough to be before the lto-stream write/read. I don't see how we can do this earlier. Before ealias, there's no alias info, and one of the loops fails to be recognized as parallel. Furthermore, pass_ch, pass_ccp,

[gomp4] openacc kernels directive support

2014-08-06 Thread Tom de Vries
Jakub, I've looked into how to implement the openacc kernels directive in gcc. In order to map the loopnests marked by the kernels directive efficiently on accelerator hardware, we need parallelization and vectorization. Focussing on paralellization for the moment, a possibility for