This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

guraypp created this revision.Jan 19 2023, 1:09 AM
guraypp requested review of this revision.Jan 19 2023, 1:09 AM
guraypp updated this revision to Diff 490437.Jan 19 2023, 3:01 AM

fix the test

guraypp updated this revision to Diff 490448.Jan 19 2023, 3:42 AM
This comment was removed by guraypp.
nicolasvasilache accepted this revision.Jan 20 2023, 3:07 AM
This revision is now accepted and ready to land.Jan 20 2023, 3:07 AM
This revision was automatically updated to reflect the committed changes.