This patch introduces the acc.enter_data operation that represents an OpenACC Enter Data directive.
Operands and attributes are dervied from clauses in the spec 2.6.6.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td | ||
---|---|---|
249 | I added a topic on discourse a while back about modeling of if clause in OpenACC or OpenMP dialects. So it can be modeled on the op directly or we could let the frontend do the work and for example insert a scf.if operation with the acc.enter_data operation inside its then region. Anybody has a guidance on this. |
mlir/test/Dialect/OpenACC/ops.mlir | ||
---|---|---|
675–677 | Nit: VALUE -> ONE |
mlir/test/Dialect/OpenACC/ops.mlir | ||
---|---|---|
675–677 | I don't mind changing this but other tests above use VALUE so just for consistency if I change here would need to change all the rest. |
I added a topic on discourse a while back about modeling of if clause in OpenACC or OpenMP dialects. So it can be modeled on the op directly or we could let the frontend do the work and for example insert a scf.if operation with the acc.enter_data operation inside its then region. Anybody has a guidance on this.
https://llvm.discourse.group/t/modeled-as-operand-on-the-operation-or-done-by-the-frontend/1875?u=clementval