OpenACC 3.3 introduces a dim argument on the gang clause. This patch
adds a new operand for it on the acc.loop and update the custom
gang clause parser/printer for it.
Depends on D151970
Paths
| Differential D151971
[mlir][openacc] Add gang dim operand to acc.loop operation ClosedPublic Authored by clementval on Jun 1 2023, 10:45 PM.
Details Summary OpenACC 3.3 introduces a dim argument on the gang clause. This patch Depends on D151970
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 1 2023, 10:45 PM Herald added subscribers: stephenneuendorffer, nicolasvasilache, jdoerfert. · View Herald Transcript clementval added a child revision: D151972: [flang][openacc] Add parsing support for dim in gang clause.Jun 1 2023, 10:47 PM
This revision is now accepted and ready to land.Jun 13 2023, 6:30 AM razvanlupusoru added inline comments.
This revision was landed with ongoing or failed builds.Jun 13 2023, 1:39 PM Closed by commit rG7f3d2cc26b47: [mlir][openacc] Add gang dim operand to acc.loop operation (authored by clementval). · Explain Why This revision was automatically updated to reflect the committed changes. clementval marked an inline comment as done.
Revision Contents
Diff 527739 flang/lib/Lower/OpenACC.cpp
mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
mlir/test/Dialect/OpenACC/invalid.mlir
mlir/test/Dialect/OpenACC/ops.mlir
|
I am feeling conflicted about this check because I don't understand why spec specifically restricts this case. To me it feels like something acc dialect should allow but not clause semantic verifier.