This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] move comments from cpp files into dialect doc
ClosedPublic

Authored by aartbik on Jul 30 2021, 12:22 PM.

Diff Detail

Event Timeline

aartbik created this revision.Jul 30 2021, 12:22 PM
aartbik requested review of this revision.Jul 30 2021, 12:22 PM
rriddle requested changes to this revision.Jul 30 2021, 12:27 PM

Why is this here and not in the docs/ folder?

This revision now requires changes to proceed.Jul 30 2021, 12:27 PM

This feels like something that would just be in the documentation of the sparse dialect.

This feels like something that would just be in the documentation of the sparse dialect.

Ah, I see. So I should add a SparseTensor.md in mlir/docs instead. That makes sense. Thanks!

This feels like something that would just be in the documentation of the sparse dialect.

Ah, I see. So I should add a SparseTensor.md in mlir/docs instead. That makes sense. Thanks!

There should be one auto-generated already (https://mlir.llvm.org/docs/Dialects/SparseTensorOps/). Could you place this in the description of the SparseTensor dialect? Otherwise, you'll likely need to link the auto-generated docs into the new doc.

Nice, I like the idea of having all doc in the dialect base class I added.
Apologies for the "false start" with a readme file, this makes so much more sense!

Nice, I like the idea of having all doc in the dialect base class I added.
Apologies for the "false start" with a readme file, this makes so much more sense!

No need for apologies! Just trying to make sure all the docs are in one place+consistent.

aartbik updated this revision to Diff 363188.Jul 30 2021, 1:00 PM

use dialect base class doc instead, so it also shows up on our doc pages

aartbik retitled this revision from [mlir][sparse] move comments from cpp files into more visibile README.md to [mlir][sparse] move comments from cpp files into dialect doc.Jul 30 2021, 1:01 PM
aartbik edited the summary of this revision. (Show Details)
rriddle accepted this revision.Jul 30 2021, 1:01 PM
This revision is now accepted and ready to land.Jul 30 2021, 1:01 PM
This revision was landed with ongoing or failed builds.Jul 30 2021, 1:17 PM
This revision was automatically updated to reflect the committed changes.