Re: [gomp4, wip] remove references to ganglocal shared memory inside gcc

2015-09-23 Thread Thomas Schwinge
Hi! On Fri, 18 Sep 2015 06:51:18 -0700, Cesar Philippidis wrote: > On 09/18/2015 01:39 AM, Thomas Schwinge wrote: > > > On Tue, 1 Sep 2015 18:29:55 +0200, Tom de Vries > > wrote: > >> On 27/08/15 03:37, Cesar Philippidis wrote: > >>> -

Re: [gomp4, wip] remove references to ganglocal shared memory inside gcc

2015-09-18 Thread Thomas Schwinge
Hi! On Tue, 1 Sep 2015 18:29:55 +0200, Tom de Vries wrote: > On 27/08/15 03:37, Cesar Philippidis wrote: > > - ctx->ganglocal_size_host = align_and_expand (_host, host_size, align); > > I suspect this caused a bootstrap failure (align_and_expand unused). >

Re: [gomp4, wip] remove references to ganglocal shared memory inside gcc

2015-09-18 Thread Cesar Philippidis
On 09/18/2015 01:39 AM, Thomas Schwinge wrote: > On Tue, 1 Sep 2015 18:29:55 +0200, Tom de Vries > wrote: >> On 27/08/15 03:37, Cesar Philippidis wrote: >>> - ctx->ganglocal_size_host = align_and_expand (_host, host_size, align); >> >> I suspect this caused a bootstrap

Re: [gomp4, wip] remove references to ganglocal shared memory inside gcc

2015-09-01 Thread Tom de Vries
On 27/08/15 03:37, Cesar Philippidis wrote: - ctx->ganglocal_size_host = align_and_expand (_host, host_size, align); I suspect this caused a bootstrap failure (align_and_expand unused). Worked-around as attached. Thanks, - Tom Mark align_and_expand as unused 2015-09-01 Tom de Vries

Re: [gomp4, wip] remove references to ganglocal shared memory inside gcc

2015-09-01 Thread Tom de Vries
On 27/08/15 03:37, Cesar Philippidis wrote: - tree ganglocal_size - = gimple_call_arg (goacc_kernels_internal, /* TODO */ 6); - gimple_omp_target_set_ganglocal_size (stmt, ganglocal_size); This caused a bootstrap failure. Committed as attached. Thanks, - Tom Remove unused var

Re: [gomp4, wip] remove references to ganglocal shared memory inside gcc

2015-08-27 Thread Nathan Sidwell
On 08/26/15 21:37, Cesar Philippidis wrote: This patch strips out all of the references to ganglocal memory in gcc. Unfortunately, the runtime api still takes a shared memory parameter, so I haven't made any changes there yet. Perhaps we could still keep the shared memory argument to

Re: [gomp4, wip] remove references to ganglocal shared memory inside gcc

2015-08-27 Thread Nathan Sidwell
On 08/27/15 13:25, Cesar Philippidis wrote: On 08/27/2015 06:13 AM, Nathan Sidwell wrote: I'll create a follow up patch for that later, probably after I finish ok working on the auto-independent loop patch. In the meantime, I'm found a bug where acc routine calls aren't being checked for

Re: [gomp4, wip] remove references to ganglocal shared memory inside gcc

2015-08-27 Thread Cesar Philippidis
On 08/27/2015 06:13 AM, Nathan Sidwell wrote: On 08/26/15 21:37, Cesar Philippidis wrote: This patch strips out all of the references to ganglocal memory in gcc. Unfortunately, the runtime api still takes a shared memory parameter, so I haven't made any changes there yet. Perhaps we could

[gomp4, wip] remove references to ganglocal shared memory inside gcc

2015-08-26 Thread Cesar Philippidis
This patch strips out all of the references to ganglocal memory in gcc. Unfortunately, the runtime api still takes a shared memory parameter, so I haven't made any changes there yet. Perhaps we could still keep the shared memory argument to GOACC_parallel, but remove all of the support for