This patch introduces the OpenACC dialect with three operation defined
parallel, data and loop operations with custom parsing and printing.
OpenACC dialect RFC can be find here: https://llvm.discourse.group/t/rfc-openacc-dialect/546/2
Paths
| Differential D84268
[mlir][openacc] Introduce OpenACC dialect with parallel, data, loop operations ClosedPublic Authored by clementval on Jul 21 2020, 1:25 PM.
Details Summary This patch introduces the OpenACC dialect with three operation defined OpenACC dialect RFC can be find here: https://llvm.discourse.group/t/rfc-openacc-dialect/546/2
Diff Detail
Event Timelinekiranchandramohan added reviewers: DavidTruby, kiranktp, anchu-rajendran, kiranchandramohan.Jul 23 2020, 10:05 AM
clementval marked 2 inline comments as done. Comment ActionsAdd some "clauses" to parallel op and loop op
clementval marked an inline comment as done. Comment ActionsUpdate region for parallel, loop and data op
Comment Actions Address review comments
Comment Actions LGTM(at least the part I reviewed). But it would be good to wait for @kiranchandramohan and IIRC @ftynse has contributed a lot in GPU dialect. So it would be nice to have there views/thoughts also. Comment Actions
Sure will wait on their review. It's the first bits of the dialect so there is no problem to wait some more.
Comment Actions This looks ready. A few nit comments.
clementval added inline comments.
This revision is now accepted and ready to land.Aug 7 2020, 8:26 AM rriddle added inline comments.
Closed by commit rG4225e7fa34fe: [mlir][openacc] Introduce OpenACC dialect with parallel, data, loop operations (authored by clementval). · Explain WhyAug 13 2020, 7:01 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 283008 mlir/include/mlir/Dialect/CMakeLists.txt
mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
mlir/include/mlir/Dialect/OpenACC/OpenACC.h
mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
mlir/include/mlir/IR/DialectSymbolRegistry.def
mlir/include/mlir/InitAllDialects.h
mlir/lib/Dialect/CMakeLists.txt
mlir/lib/Dialect/OpenACC/CMakeLists.txt
mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
mlir/test/Dialect/OpenACC/ops.mlir
|
nit: Please fix this lint error.