[all-commits] [llvm/llvm-project] 366636: [mlir][nvvm] Introduce redux op
Guray Ozen via All-commits
all-commits at lists.llvm.org
Fri Jan 20 03:14:38 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 36663626ee336905745cb1c259b3b65c9ff656bf
https://github.com/llvm/llvm-project/commit/36663626ee336905745cb1c259b3b65c9ff656bf
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2023-01-20 (Fri, 20 Jan 2023)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
M mlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp
M mlir/test/Dialect/LLVMIR/nvvm.mlir
Log Message:
-----------
[mlir][nvvm] Introduce redux op
Ptx model has `redux.sync` that performs reduction operation on the data from each predicated active thread in the thread group. It only is available sm80+.
This revision adds redux as on op to nvvm dialect.
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D142088
More information about the All-commits
mailing list