diff options
author | Uday Bondhugula <uday@polymagelabs.com> | 2020-03-27 14:50:05 +0530 |
---|---|---|
committer | Uday Bondhugula <uday@polymagelabs.com> | 2020-03-31 23:08:29 +0530 |
commit | 7fca0e9797dccf44a1ae43328b94182d2f6188d9 (patch) | |
tree | 0d5ac1cf88614f31b268d1ea26d5afe5ebc23840 /mlir/test/CMakeLists.txt | |
parent | 94d912296de21e965198ba1ddd1ca6714b3e4722 (diff) | |
download | llvm-7fca0e9797dccf44a1ae43328b94182d2f6188d9.zip llvm-7fca0e9797dccf44a1ae43328b94182d2f6188d9.tar.gz llvm-7fca0e9797dccf44a1ae43328b94182d2f6188d9.tar.bz2 |
[MLIR] Add simple runner utilities for timing
Add utilities print_flops, rtclock for timing / benchmarking. Add
mlir_runner_utils_dir test conf variable.
Signed-off-by: Uday Bondhugula <uday@polymagelabs.com>
Differential Revision: https://reviews.llvm.org/D76912
Diffstat (limited to 'mlir/test/CMakeLists.txt')
-rw-r--r-- | mlir/test/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mlir/test/CMakeLists.txt b/mlir/test/CMakeLists.txt index 97584f8..91bad33 100644 --- a/mlir/test/CMakeLists.txt +++ b/mlir/test/CMakeLists.txt @@ -10,6 +10,7 @@ llvm_canonicalize_cmake_booleans( # Passed to lit.site.cfg.py.in to set up the path where to find the libraries # for linalg integration tests. set(MLIR_DIALECT_LINALG_INTEGRATION_TEST_LIB_DIR ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}) +set(MLIR_RUNNER_UTILS_DIR ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}) # Passed to lit.site.cfg.py.in to set up the path where to find the libraries # for the mlir cuda runner tests. |