This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse][gpu] sparse GPU code generator pipeline setup
ClosedPublic

Authored by aartbik on Apr 4 2023, 1:57 PM.

Diff Detail

Event Timeline

aartbik created this revision.Apr 4 2023, 1:57 PM
Herald added a project: Restricted Project. · View Herald Transcript
aartbik requested review of this revision.Apr 4 2023, 1:57 PM
Peiming accepted this revision.Apr 4 2023, 2:00 PM
This revision is now accepted and ready to land.Apr 4 2023, 2:00 PM
aartbik retitled this revision from [mlir][sparse][gpu] end-to-end example with first prototype sparse GPU code generator to [mlir][sparse][gpu] sparse GPU code generator pipeline setup.
aartbik updated this revision to Diff 511178.Apr 5 2023, 11:55 AM

rebased with main

aartbik updated this revision to Diff 511187.Apr 5 2023, 12:58 PM

rebased with main

aartbik updated this revision to Diff 511200.Apr 5 2023, 1:41 PM

rebased with main

mehdi_amini added inline comments.May 16 2023, 3:04 PM
mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp
106

It's a bit weird to me that a macro will change the behavior here, can you add comment / documentation around the behavior?
We can have gpuCodegen == true but MLIR_GPU_TO_CUBIN_PASS_ENABLE == 0?