Add utilities print_flops, rtclock for timing / benchmarking. Add
mlir_runner_utils_dir test conf variable.
Signed-off-by: Uday Bondhugula <uday@polymagelabs.com>
Paths
| Differential D76912
[MLIR] Add simple runner utilities for timing ClosedPublic Authored by bondhugula on Mar 27 2020, 2:49 AM.
Details
Summary Add utilities print_flops, rtclock for timing / benchmarking. Add Signed-off-by: Uday Bondhugula <uday@polymagelabs.com>
Diff Detail
Event TimelineThis revision now requires changes to proceed.Mar 27 2020, 7:30 AM
bondhugula marked an inline comment as done. Comment ActionsEmit error message for the timer util on Win32 ftynse added inline comments. This revision is now accepted and ready to land.Mar 31 2020, 12:56 AM Comment Actions Thanks for the review.
Closed by commit rG7fca0e9797dc: [MLIR] Add simple runner utilities for timing (authored by bondhugula). · Explain WhyMar 31 2020, 10:53 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 253064 mlir/lib/ExecutionEngine/RunnerUtils.cpp
mlir/test/CMakeLists.txt
mlir/test/lit.cfg.py
mlir/test/lit.site.cfg.py.in
mlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir
|
We need some conditional compilation mechanism here, MLIR needs to be buildable on other systems than Linux.