[gomp4] check for compatible parallelism with acc routines

2015-08-28 Thread Cesar Philippidis
This patch teaches omplower to report any incompatible parallelism when using routines. I also fixed a minor bug involving reductions inside routines and removed a dead variable inside execute_oacc_transform which caused a build warning. There are two scenarios involving acc routines that need

Re: [gomp4] check for compatible parallelism with acc routines

2015-08-28 Thread Nathan Sidwell
On 08/28/15 11:56, Cesar Philippidis wrote: Right now, gcc is permitting both of these loops. I.e., only the seq loop itself is executing in a non-partitioned mode. Julian inquired about this in the openacc technical list a while ago, but I don't think he got a response. This patch has been