This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Restrict number of device_type values on the set directive
ClosedPublic

Authored by clementval on Aug 23 2023, 10:56 AM.

Details

Summary

The standard suggests that the value for the device_type clause on the
set directive is a list but this does not makes sense. Restrict the number
of value to one so it matches the runtime function.

Depends on D158644

Diff Detail

Event Timeline

clementval created this revision.Aug 23 2023, 10:56 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 23 2023, 10:56 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Aug 23 2023, 10:56 AM
razvanlupusoru accepted this revision.Aug 23 2023, 11:13 AM

Looks right to me now!

This revision is now accepted and ready to land.Aug 23 2023, 11:13 AM
This revision was landed with ongoing or failed builds.Aug 23 2023, 11:59 AM
This revision was automatically updated to reflect the committed changes.