This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] extend unpack operation to unpack arbitrary encodings.
ClosedPublic

Authored by Peiming on May 22 2023, 5:29 PM.

Diff Detail

Event Timeline

Peiming created this revision.May 22 2023, 5:29 PM
Herald added a project: Restricted Project. · View Herald Transcript
Peiming requested review of this revision.May 22 2023, 5:29 PM
Peiming updated this revision to Diff 524823.May 23 2023, 11:51 AM

update docs.

Peiming updated this revision to Diff 524833.May 23 2023, 11:58 AM

revert unintended changes.

aartbik added inline comments.May 23 2023, 1:59 PM
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
119–121

This is the user's responsibility

Also at L76 since you are here

120

simply copies each field of the ....

121

into the user--supplied ....

mlir/lib/Dialect/SparseTensor/Transforms/BufferizableOpInterfaceImpl.cpp
156–157

by user

mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
1328

yeah, I like having values at the end, much more TACO-style

Peiming marked an inline comment as done.May 23 2023, 2:27 PM
Peiming added inline comments.
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
1328

Okay, I will do it in a separate revision!

Peiming marked 5 inline comments as done.May 23 2023, 2:31 PM
Peiming updated this revision to Diff 524888.May 23 2023, 2:32 PM

address comments.

aartbik accepted this revision.May 23 2023, 3:24 PM
This revision is now accepted and ready to land.May 23 2023, 3:24 PM
This revision was landed with ongoing or failed builds.May 23 2023, 3:34 PM
This revision was automatically updated to reflect the committed changes.