[PATCH, OpenACC] OpenACC subarray data alignment in Fortran

2018-08-29 Thread Julian Brown
1e4c518992560dec161a2d1f65aad560d7b12518 Author: Julian Brown Date: Wed Aug 29 12:42:27 2018 -0700 OpenACC subarray data alignment in fortran 20xx-xx-xx Cesar Philippidis Julian Brown gcc/fortran/ * trans-openmp.c (gfc_omp_finish_clause): Don't cast ptr

Re: OpenACC subarray data alignment in fortran

2015-09-29 Thread Cesar Philippidis
Ping. In the meantime, I'll apply this patch to gomp-4_0-branch. Cesar On 09/22/2015 08:24 AM, Cesar Philippidis wrote: > In both OpenACC and OpenMP, each subarray has at least two data mappings > associated with them, one for the pointer and another for the data in > the array section (fortan

OpenACC subarray data alignment in fortran

2015-09-22 Thread Cesar Philippidis
In both OpenACC and OpenMP, each subarray has at least two data mappings associated with them, one for the pointer and another for the data in the array section (fortan also has a pset mapping). One problem I observed in fortran is that array section data is casted to char *. Consequently, when