Re: [patch,openacc] Generate sequential loop for OpenACC loop directive inside kernels

2018-12-04 Thread Jakub Jelinek
On Thu, Sep 20, 2018 at 11:57:50AM -0700, Cesar Philippidis wrote: > 2018-XX-YY Cesar Philippidis > > * omp-low.c (install_var_field): New base_pointer_restrict > argument. > (scan_sharing_clauses): Update call to install_var_field. > (omp_target_base_pointers_restrict_p

Re: [patch,openacc] Generate sequential loop for OpenACC loop directive inside kernels

2018-09-20 Thread Cesar Philippidis
On 09/20/2018 10:14 AM, Cesar Philippidis wrote: > As Chung-Lin noted here > : > > This patch adjusts omp-low.c:expand_omp_for_generic() to expand to a > "sequential" loop form (without the OMP runtime calls), used for loop > directiv

[patch,openacc] Generate sequential loop for OpenACC loop directive inside kernels

2018-09-20 Thread Cesar Philippidis
As Chung-Lin noted here : This patch adjusts omp-low.c:expand_omp_for_generic() to expand to a "sequential" loop form (without the OMP runtime calls), used for loop directives inside OpenACC kernels constructs. Tom mentions that this