diff options
author | Valentin Clement <clementval@gmail.com> | 2020-03-11 13:56:31 +0100 |
---|---|---|
committer | Stephan Herhut <herhut@google.com> | 2020-03-11 14:07:04 +0100 |
commit | c7380995f8123558e0ac252d141d846fb97a869a (patch) | |
tree | 782d8aa8b062da90c8bd9f528b0afbe2938655c9 /clang/lib/Lex/ModuleMap.cpp | |
parent | f6790a1c63598e9e55608d60d0f4c0a1b1be8ae9 (diff) | |
download | llvm-c7380995f8123558e0ac252d141d846fb97a869a.zip llvm-c7380995f8123558e0ac252d141d846fb97a869a.tar.gz llvm-c7380995f8123558e0ac252d141d846fb97a869a.tar.bz2 |
[MLIR] Add `and`, `or`, `xor`, `min`, `max` too gpu.all_reduce and the nvvm lowering
Summary:
This patch add some builtin operation for the gpu.all_reduce ops.
- for Integer only: `and`, `or`, `xor`
- for Float and Integer: `min`, `max`
This is useful for higher level dialect like OpenACC or OpenMP that can lower to the GPU dialect.
Differential Revision: https://reviews.llvm.org/D75766
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions