Re: [gomp4] dimension API

2015-08-12 Thread Thomas Schwinge
Hi Nathan! On Wed, 12 Aug 2015 09:30:10 -0400, Nathan Sidwell wrote: > I've committed this patch to gomp4. [...] > > Also put in the change I mentioned earlier this morning about the default > validate dims hook setting the dimensions to 1 on accelerators to. I'll > revert > Thomas's patc

Re: [gomp4] dimension API

2015-08-12 Thread Nathan Sidwell
On 08/12/15 09:30, Nathan Sidwell wrote: I've committed this patch to gomp4. It reworks the oacc functiuon attribute dimension handling. Rather than pass the TREE_LIST to the various hooks, I convert it to a regular C array of ints. That makes life simpler for the consumers. They return a 'ch

[gomp4] dimension API

2015-08-12 Thread Nathan Sidwell
I've committed this patch to gomp4. It reworks the oacc functiuon attribute dimension handling. Rather than pass the TREE_LIST to the various hooks, I convert it to a regular C array of ints. That makes life simpler for the consumers. They return a 'changed' flag to indicate whether the attr