On 12/21/2017 10:46 PM, Cesar Philippidis wrote:
I've committed this patch to openacc-gcc-7-branch.
diff --git a/gcc/omp-expand.c b/gcc/omp-expand.c
index bf1f127d8d6..f674c74ec82 100644
--- a/gcc/omp-expand.c
+++ b/gcc/omp-expand.c
offloaded = is_gimple_omp_offloaded (entry_stmt);
On Thu, Dec 21, 2017 at 01:46:56PM -0800, Cesar Philippidis wrote:
> After thinking about this some more, I decided that it would be better
> expand the offloaded function arguments into individual parameters
> during omp lowering, rather than writing a separate pass later on. I
> don't see too man
On 12/18/2017 02:58 PM, Cesar Philippidis wrote:
> Jakub,
>
> I'd like your thoughts on the following problem.
>
> One of the offloading bottlenecks with GPU acceleration in OpenACC is
> the nontrivial offloaded function invocation overhead. At present, GCC
> generates code to pass a struct conta
Jakub,
I'd like your thoughts on the following problem.
One of the offloading bottlenecks with GPU acceleration in OpenACC is
the nontrivial offloaded function invocation overhead. At present, GCC
generates code to pass a struct containing one field for each of the
data mappings used in the OMP c