[all-commits] [llvm/llvm-project] b90d6b: [mlir][openacc] Switch deviceType to optional sing...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Wed Aug 23 11:31:40 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b90d6b237ff67498213059d0d3639ac965d4e5bf
https://github.com/llvm/llvm-project/commit/b90d6b237ff67498213059d0d3639ac965d4e5bf
Author: Valentin Clement <clementval at gmail.com>
Date: 2023-08-23 (Wed, 23 Aug 2023)
Changed paths:
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
M mlir/test/Dialect/OpenACC/ops.mlir
Log Message:
-----------
[mlir][openacc] Switch deviceType to optional single operand
The standard suggests that the value for the `device_type` clause on the
`set` directive is a list but this does not makes sense. Restrict the number
of value to one so it matches the runtime function.
Reviewed By: razvanlupusoru
Differential Revision: https://reviews.llvm.org/D158644
More information about the All-commits
mailing list