================ @@ -1679,6 +1719,31 @@ def OpenACC_KernelsOp : OpenACC_Op<"kernels", static mlir::acc::Construct getConstructId() { return mlir::acc::Construct::acc_construct_kernels; } + /// Add a value to 'num_workers' with the current list of device types. + void addNumWorkersOperand(MLIRContext *, mlir::Value, + llvm::ArrayRef<DeviceType>); + /// Add a value to 'vector_length' with the current list of device types. + void addVectorLengthOperand(MLIRContext *, mlir::Value, + llvm::ArrayRef<DeviceType>); + /// Add an entry to the 'async-only' attribute (clause spelled without + /// arguments)for each of the additional device types (or a none if it is + /// empty). + void addAsyncOnly(MLIRContext *, llvm::ArrayRef<DeviceType>); + /// Add a value to the 'async' with the current list of device types. + void addAsyncOperand(MLIRContext *, mlir::Value, + llvm::ArrayRef<DeviceType>); + /// Add an array-like entry to the 'num_gangs' with the current list of + /// device types. + void addNumGangsOperands(MLIRContext *, mlir::ValueRange, + llvm::ArrayRef<DeviceType>); + /// Add an entry to the 'wait-only' attribute (clause spelled without + /// arguments)for each of the additional device types (or a none if it is ---------------- andykaylor wrote:
```suggestion /// arguments) for each of the additional device types (or a none if it is ``` https://github.com/llvm/llvm-project/pull/137396 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits