[nfc][openacc] Add missing comma in acc dialect operation macros
authorRazvan Lupusoru <rlupusoru@nvidia.com>
Wed, 19 Jul 2023 16:08:35 +0000 (09:08 -0700)
committerRazvan Lupusoru <rlupusoru@nvidia.com>
Wed, 19 Jul 2023 16:12:06 +0000 (09:12 -0700)
A comma is missing which is incorrect if macro is used.

Reviewed By: clementval

Differential Revision: https://reviews.llvm.org/D155722

mlir/include/mlir/Dialect/OpenACC/OpenACC.h

index ff9d2c9..b469bd8 100644 (file)
@@ -45,8 +45,8 @@
   mlir::acc::ParallelOp, mlir::acc::KernelsOp, mlir::acc::SerialOp
 #define ACC_DATA_CONSTRUCT_OPS                                                 \
   mlir::acc::DataOp, mlir::acc::EnterDataOp, mlir::acc::ExitDataOp,            \
-      mlir::acc::UpdateOp, mlir::acc::HostDataOp,                              \
-      mlir::acc::DeclareEnterOp mlir::acc::DeclareExitOp
+      mlir::acc::UpdateOp, mlir::acc::HostDataOp, mlir::acc::DeclareEnterOp,   \
+      mlir::acc::DeclareExitOp
 #define ACC_COMPUTE_AND_DATA_CONSTRUCT_OPS                                     \
   ACC_COMPUTE_CONSTRUCT_OPS, ACC_DATA_CONSTRUCT_OPS