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
more beyond adding OpenACC directives.
Hm, I can understand that, at least partially, because CONTIGUOUS is
a F2008 feature which my be rejected by compilers which do not
implement it.
I was considering relaxing the error to a warning, but I ended up
deciding this should be a run-time failure, if there is one.
What happens - silent wrong-code or indeed a run-time error which
lets the user know what is wrong?
It would be a run-time error, like a segmentation fault.
What do you think about changing it into a warning enabled with -Wall?
OK if you agree, otherwise we can continue the discussion.
Regards
Thomas