This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Disallow the zero modifier on the create clause with the declare directive
ClosedPublic

Authored by clementval on Jul 31 2023, 8:48 AM.

Details

Summary

The OpenACC 3.3 specification does not allow the zero modifier
on the create clause used with the declare directive.

Diff Detail

Event Timeline

clementval created this revision.Jul 31 2023, 8:48 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 31 2023, 8:48 AM
clementval requested review of this revision.Jul 31 2023, 8:48 AM
razvanlupusoru accepted this revision.Jul 31 2023, 2:20 PM

Nice catch! I admit I did not know this despite being quite familiar with the OpenACC spec. Easy detail to miss! It does seem that it may not be an intentional omission, but I agree rejecting it for now.

This revision is now accepted and ready to land.Jul 31 2023, 2:20 PM

Nice catch! I admit I did not know this despite being quite familiar with the OpenACC spec. Easy detail to miss! It does seem that it may not be an intentional omission, but I agree rejecting it for now.

I agree that it might just be missing from the spec. I'll raise a question to the technical committee.