This is an archive of the discontinued LLVM Phabricator instance.

[mlir][openacc] Add acc.declare_action attribute
ClosedPublic

Authored by clementval on Aug 11 2023, 11:41 AM.

Details

Summary

iAdd the acc.declare_action attribute to attach pre/post
allocation/deallocation functions to operations.

Diff Detail

Event Timeline

clementval created this revision.Aug 11 2023, 11:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2023, 11:41 AM
clementval requested review of this revision.Aug 11 2023, 11:41 AM
razvanlupusoru accepted this revision.Aug 11 2023, 11:51 AM

Looks great - just a small spelling mistake!

mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
143

Delloc -> Dealloc

This revision is now accepted and ready to land.Aug 11 2023, 11:51 AM
clementval added inline comments.Aug 14 2023, 8:50 AM
mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
143

Thanks for catching this!

Fix spelling

clementval marked an inline comment as done.Aug 14 2023, 9:05 AM
This revision was landed with ongoing or failed builds.Aug 14 2023, 10:41 AM
This revision was automatically updated to reflect the committed changes.