diff options
author | Iman Hosseini <hosseini.iman@yahoo.com> | 2024-06-12 19:18:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-12 19:18:41 +0100 |
commit | 7665d3d90da7f32e56cb57eb192dc8f189730686 (patch) | |
tree | c0de795370bc9319ceaa5e319db49eb79fb8fd7c /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | ca33796d54ce6d2c711032b269caf32851c5915a (diff) | |
download | llvm-7665d3d90da7f32e56cb57eb192dc8f189730686.zip llvm-7665d3d90da7f32e56cb57eb192dc8f189730686.tar.gz llvm-7665d3d90da7f32e56cb57eb192dc8f189730686.tar.bz2 |
[flang] Add reductions for CUF Kernels: Lowering (#95184)
* Add reductionOperands and reductionAttrs to cuf's KernelOp.
* Parsing is already working and the tree has the info: here I make the
Bridge emit the updated KernelOp with reduction information added.
* Check |reductionAttrs| = |reductionOperands| in verifier
* Add a test
@clementval @vzakhari
---------
Co-authored-by: Iman Hosseini <imanh@nvidia.com>
Co-authored-by: Valentin Clement (バレンタイン クレメン) <clementval@gmail.com>
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions