summaryrefslogtreecommitdiff
path: root/mlir/benchmark/python/benchmark_sparse.py
AgeCommit message (Collapse)Author
2023-05-26[NFC][Py Reformat] Reformat python files in mlir subdirTobias Hieta
This is an ongoing series of commits that are reformatting our Python code. Reformatting is done with `black`. If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run git checkout --ours <yourfile> and then reformat it with black. If you run into any problems, post to discourse about it and we will try to help. RFC Thread below: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Differential Revision: https://reviews.llvm.org/D150782
2022-07-15[mlir][benchmark] Fix import in sparse benchmark.Ingo Müller
The benchmark currently fails to run because it cannot find the `func` symbol when using a `FuncOp`. I suppose that the breakage was introduced by the extraction of the func dialect from the builtin dialect that wasn't reflected in the benchmark yet. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D129738
2022-03-16[mlir] Move the Builtin FuncOp to the Func dialectRiver Riddle
This commit moves FuncOp out of the builtin dialect, and into the Func dialect. This move has been planned in some capacity from the moment we made FuncOp an operation (years ago). This commit handles the functional aspects of the move, but various aspects are left untouched to ease migration: func::FuncOp is re-exported into mlir to reduce the actual API churn, the assembly format still accepts the unqualified `func`. These temporary measures will remain for a little while to simplify migration before being removed. Differential Revision: https://reviews.llvm.org/D121266
2022-01-27[mlir] Set up boilerplate build for MLIR benchmarksSaurabh Jha
This is is the start of the MLIR benchmarks. It sets up a command line tool along with conventions to define and run benchmarks using mlir's python bindings. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D115174