This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse][taco] Add support for float32.
ClosedPublic

Authored by bixia on Feb 22 2022, 2:04 PM.

Details

Summary

Previously, we only support float64. We now support float32 and float64. When
constructing a tensor without providing a data type, the default is float32.

Fix the tests to data type consistency. All PyTACO application tests now use
float32 to match the default data type of TACO. Other tests may use float32 or
float64.

Diff Detail

Event Timeline

bixia created this revision.Feb 22 2022, 2:04 PM
bixia requested review of this revision.Feb 22 2022, 2:04 PM
aartbik accepted this revision.Feb 22 2022, 4:19 PM

You will have to rebase against head of main to get a clean presubmit run (I had the same problem today)

This revision is now accepted and ready to land.Feb 22 2022, 4:19 PM
This revision was automatically updated to reflect the committed changes.