Add complex operations abs, neg, sin, log1p, sub and div.
Add test cases.
Paths
| Differential D126027
[mlir][sparse] Support more complex operations. ClosedPublic Authored by bixia on May 19 2022, 3:41 PM.
Details
Summary Add complex operations abs, neg, sin, log1p, sub and div. Add test cases.
Diff Detail
Event TimelineComment Actions Nice progress. One comment.
This revision is now accepted and ready to land.May 20 2022, 12:08 PM Closed by commit rGd390035b4690: [mlir][sparse] Support more complex operations. (authored by bixia). · Explain WhyMay 20 2022, 2:39 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 430833 mlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h
mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_complex_ops.mlir
|
You will have to add a case for kSubC here now too (mapping to kNegC)