Re: [PATCH] allow deferred-shape pointers in OpenACC data clauses

2017-07-23 Thread Thomas Koenig
Am 17.07.2017 um 00:31 schrieb Cesar Philippidis: On 07/16/2017 10:28 AM, Thomas Koenig wrote: It is possible to declare a pointer with the contiguous attribute. Is there a reason that this cannot be used in general= That's a good point. But some users don't want to modify their programs mor

Re: [PATCH] allow deferred-shape pointers in OpenACC data clauses

2017-07-16 Thread Cesar Philippidis
On 07/16/2017 10:28 AM, Thomas Koenig wrote: > Am 14.07.2017 um 16:11 schrieb Cesar Philippidis: >> This patch teaches the fortran FE to allow deferred-shape pointers to be >> used in OpenACC data clauses. While the spec states that arrays must be >> contiguous, I believe that is a run-time require

Re: [PATCH] allow deferred-shape pointers in OpenACC data clauses

2017-07-16 Thread Thomas Koenig
Am 14.07.2017 um 16:11 schrieb Cesar Philippidis: This patch teaches the fortran FE to allow deferred-shape pointers to be used in OpenACC data clauses. While the spec states that arrays must be contiguous, I believe that is a run-time requirement, not a compile time. The intent behind OpenACC is

[PATCH] allow deferred-shape pointers in OpenACC data clauses

2017-07-14 Thread Cesar Philippidis
This patch teaches the fortran FE to allow deferred-shape pointers to be used in OpenACC data clauses. While the spec states that arrays must be contiguous, I believe that is a run-time requirement, not a compile time. The intent behind OpenACC is to have the programmer sprinkle a minimum amount of