FWD: Re: OpenACC subarray specifications in the GCC Fortran front end

Ilmir Usmanov i.usmanov@samsung.com
Thu May 22 07:32:00 GMT 2014


On 16.05.2014 19:44, Ilmir Usmanov wrote:
> Hi Thomas!
>
> On 16.05.2014 19:12, Thomas Schwinge wrote:
>> Hi Ilmir!
>>
>> You recently indicated that you have already begun implementing OpenACC
>> subarray specifications in the GCC Fortran front end, but have not
>> been/are not currently able to complete that.  Would you be willing to
>> share your WIP patch with Cesar, who is now working on this, so that he
>> doesn't have to duplicate your work?
> Sure! I'm glad to know that my work won't go directly to trash.
>
> BTW, another patch is still pending: 
> http://gcc.gnu.org/ml/gcc-patches/2014-04/msg00027.html
>
> Cesar,
>
> You can find the patch in attachment.
>
> I started to implement sub-arrays in gfortran by implementing OpenMP 
> 4.0 target map clause. This clause was already implemented in C/C++ 
> FEs, so I could check the behavior. I don't know whether it's already 
> implemented in gfortran or not.
>
> To represent OpenMP array sections (or OpenACC subarrays) I used 
> gfc_expr.
>
> After implementing OpenMP target map clauses I was going to use it to 
> represent OpenACC data clauses, just as Thomas recommended in his 
> mail: http://gcc.gnu.org/ml/gcc-patches/2014-01/msg02040.html
>
> I hope this will be useful for you. If you will have any question feel 
> free to ask.
>>
>> Grüße,
>>   Thomas
-- 
Ilmir.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Subarrays.patch
Type: text/x-diff
Size: 41902 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140522/197761c4/attachment.bin>


More information about the Gcc-patches mailing list