First set of "boilerplate" to get sparse tensor
passes available through CAPI and Python.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/python/dialects/sparse_tensor/passes.py | ||
---|---|---|
15 | Generally, add a "return f" to the above run() function. Then use a decorator like: @run def testSparseTensorPass(): And put your CHECK-LABEL above the @run and the CHECK above the print. |
mlir/test/python/dialects/sparse_tensor/passes.py | ||
---|---|---|
15 | Ah, I did not see that style in your test file. Changed. |
Generally, add a "return f" to the above run() function. Then use a decorator like:
And put your CHECK-LABEL above the @run and the CHECK above the print.