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.
Paths
| Differential D142088
[mlir][nvvm] Introduce redux op ClosedPublic Authored by guraypp on Jan 19 2023, 1:09 AM.
Details Summary 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.
Diff Detail
Event TimelineHerald added subscribers: stephenneuendorffer, nicolasvasilache, jholewinski. · View Herald Transcript This comment was removed by guraypp. This revision is now accepted and ready to land.Jan 20 2023, 3:07 AM Closed by commit rG36663626ee33: [mlir][nvvm] Introduce redux op (authored by guraypp). · Explain WhyJan 20 2023, 3:14 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 490449 mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
mlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp
mlir/test/Dialect/LLVMIR/nvvm.mlir
|