This is to align with the PyTACO API better.
Modify an existing unit test to test the new routines.
Paths
| Differential D121083
[mlir][sparse][taco] Split the evaluate method into compile and compute. ClosedPublic Authored by bixia on Mar 6 2022, 7:35 PM.
Details Summary This is to align with the PyTACO API better. Modify an existing unit test to test the new routines.
Diff Detail
Event Timelinebixia retitled this revision from [mlir][sparse][taco] Split the evalutate method into compile and compute. to [mlir][sparse][taco] Split the evaluate method into compile and compute..Mar 6 2022, 7:37 PM Comment Actions This looks really good! One question but then good to go!
Comment Actions Added force_recompile to the compile method.
This revision is now accepted and ready to land.Mar 7 2022, 11:43 AM Closed by commit rG5b87e0521d64: [mlir][sparse][taco] Split the evaluate method into compile and compute. (authored by bixia). · Explain WhyMar 7 2022, 4:59 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 413647 mlir/test/Integration/Dialect/SparseTensor/taco/tools/mlir_pytaco.py
mlir/test/Integration/Dialect/SparseTensor/taco/unit_test_tensor_core.py
|
Maybe add a comment to the doc that calling compile() the second time does not do anything.
(perhaps we want to pass a [default false] flag the forces re-compilation (useful for timing?)
WDYT?