This is an archive of the discontinued LLVM Phabricator instance.

[mlir][openacc] Add set operation
ClosedPublic

Authored by clementval on Aug 22 2023, 2:19 PM.

Details

Summary

Introduce the acc.set operation that models the
acc set directive. Based on acc.init and acc.shutdown

Diff Detail

Event Timeline

clementval created this revision.Aug 22 2023, 2:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 22 2023, 2:19 PM
clementval requested review of this revision.Aug 22 2023, 2:19 PM
razvanlupusoru accepted this revision.Aug 22 2023, 3:47 PM

Looks great!

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

Example should use just acc.set

This revision is now accepted and ready to land.Aug 22 2023, 3:47 PM
This revision was automatically updated to reflect the committed changes.