This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] support coiteration with fused reshape tensor
ClosedPublic

Authored by Peiming on Mar 1 2023, 11:09 AM.

Diff Detail

Event Timeline

Peiming created this revision.Mar 1 2023, 11:09 AM
Herald added a project: Restricted Project. · View Herald Transcript
Peiming requested review of this revision.Mar 1 2023, 11:09 AM
Peiming added inline comments.Mar 1 2023, 11:19 AM
mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp
566

Surprised to know that structured bindings cannot be captured by lambda expressions until C++20.
https://en.cppreference.com/w/cpp/language/structured_binding

aartbik accepted this revision.Mar 1 2023, 12:47 PM
aartbik added inline comments.
mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp
136

Should this be // Generate
or are you focusing on that it yields....?

566

but lvl is okay? strange

mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.h
193

Add a /// doc

This revision is now accepted and ready to land.Mar 1 2023, 12:47 PM
Peiming updated this revision to Diff 501642.Mar 1 2023, 12:52 PM
Peiming marked 3 inline comments as done.

address comments.

Peiming added inline comments.Mar 1 2023, 12:54 PM
mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp
566

lvl is not captured..

This revision was landed with ongoing or failed builds.Mar 1 2023, 12:56 PM
This revision was automatically updated to reflect the committed changes.