Re: [gomp4] acc reductions with multiple variables

2014-11-06 Thread Thomas Schwinge
Hi! On Fri, 31 Oct 2014 16:35:27 -0700, Cesar Philippidis wrote: > This patch does the following: [...] > gcc/ > * omp-low.c (oacc_max_threads): New function. > (lower_reduction_clauses): Use the GOACC thread builtin functions to > determine the thread count. Handle mul

Re: [gomp4] acc reductions with multiple variables

2014-11-04 Thread Thomas Schwinge
Hi! On Fri, 31 Oct 2014 16:35:27 -0700, Cesar Philippidis wrote: > This patch also resolves an issue when reductions are preformed on the > host, i.e. ACC_DEVICE_TYPE=host. Additional cleanup has now been possible; r217078: commit a10c5e14ec563fffa45d24366f95f8cba62af4fd Author: tschwinge Dat

[gomp4] acc reductions with multiple variables

2014-10-31 Thread Cesar Philippidis
This patch does the following: * introduce GOACC_get_thread_num / GOACC_get_num_threads and GOACC_acc_get_device_type builtins * support for num_gangs in the middle end * support reductions with multiple variables This patch also resolves an issue when reductions are preformed on the ho