Re: [gomp4] Un-parallelized OpenACC kernels constructs with nvptx offloading: "avoid offloading" (was: [PATCH] Add fopt-info-oacc)

2016-11-03 Thread Cesar Philippidis
This patch has proven to be effective at warning users when the compiler falls back to host execution due to insufficient parallelism (at least from parloop's perspective) inside kernels regions. At the moment, acc kernels are restricted to gang-level parallelism. Consequently, if parloops fails to

[gomp4] Un-parallelized OpenACC kernels constructs with nvptx offloading: "avoid offloading" (was: [PATCH] Add fopt-info-oacc)

2016-01-21 Thread Thomas Schwinge
Hi! On Mon, 18 Jan 2016 18:26:49 +0100, Tom de Vries wrote: > This patch introduces an option fopt-info-oacc. > > When using the option like this with a kernels region in kernels-loop.c > that parloops does not manage to parallelize: > ... > $ gcc kernels-loop.c -S -O2 -fopenacc -fopt-info-oacc

Re: [PATCH] Add fopt-info-oacc

2016-01-18 Thread Richard Sandiford
Sandra Loosemore writes: > On 01/18/2016 10:26 AM, Tom de Vries wrote: >> Hi, >> >> This patch introduces an option fopt-info-oacc. >> >> When using the option like this with a kernels region in kernels-loop.c >> that parloops does not manage to parallelize: >> ... >> $ gcc kernels-loop.c -S -O2 -

Re: [PATCH] Add fopt-info-oacc

2016-01-18 Thread Sandra Loosemore
On 01/18/2016 10:26 AM, Tom de Vries wrote: Hi, This patch introduces an option fopt-info-oacc. When using the option like this with a kernels region in kernels-loop.c that parloops does not manage to parallelize: ... $ gcc kernels-loop.c -S -O2 -fopenacc -fopt-info-oacc-all ... we get a messa

[PATCH] Add fopt-info-oacc

2016-01-18 Thread Tom de Vries
Hi, This patch introduces an option fopt-info-oacc. When using the option like this with a kernels region in kernels-loop.c that parloops does not manage to parallelize: ... $ gcc kernels-loop.c -S -O2 -fopenacc -fopt-info-oacc-all ... we get a message: ... kernels-loop.c:23:9: note: kernels