Add support to lower data exit operations and use it for the
copyout, detach and delete clause on the !$acc exit data construct.
This patch refactor the data entry op creation so most part of the code
can be shared with the data exit op.
Paths
| Differential D149601
[flang][openacc] Lower copyout, detach and delete to data exit operations ClosedPublic Authored by clementval on May 1 2023, 11:15 AM.
Details Summary Add support to lower data exit operations and use it for the This patch refactor the data entry op creation so most part of the code
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 1 2023, 11:15 AM Herald added subscribers: stephenneuendorffer, nicolasvasilache, jdoerfert. · View Herald Transcript Comment Actions Just a small change requested on test. Otherwise this looks great. Thank you.
This revision is now accepted and ready to land.May 3 2023, 5:02 AM Closed by commit rG734adda3536d: [flang][openacc] Lower copyout, detach and delete to data exit operations (authored by clementval). · Explain WhyMay 4 2023, 9:39 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 518601 flang/lib/Lower/OpenACC.cpp
flang/test/Lower/OpenACC/acc-exit-data.f90mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
|
Would you mind swapping order of acc.exit_data and acc.delete? For structured operations, the "exit" operations follow the construct's region. Thus this should be consistent.