This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] Add sparse_tensor.sort_coo operator.
ClosedPublic

Authored by bixia on Nov 4 2022, 9:46 AM.

Diff Detail

Event Timeline

bixia created this revision.Nov 4 2022, 9:46 AM
Herald added a project: Restricted Project. · View Herald Transcript
bixia requested review of this revision.Nov 4 2022, 9:46 AM
aartbik added inline comments.Nov 4 2022, 4:05 PM
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
529

perhaps add a sentence on the performance rationale to this op documentation

mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
726

this UB comment should be in the op documentation

aartbik accepted this revision.Nov 4 2022, 4:16 PM

Good to go after updating doc.

This revision is now accepted and ready to land.Nov 4 2022, 4:16 PM
bixia updated this revision to Diff 473669.Nov 7 2022, 7:42 AM
bixia marked 2 inline comments as done.

Address review comments.

mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
726

Remove the UB comment here and add similar description to the op.

This revision was automatically updated to reflect the committed changes.