diff options
Diffstat (limited to 'mlir/tools/mlir-cpu-runner/mlir-cpu-runner.cpp')
-rw-r--r-- | mlir/tools/mlir-cpu-runner/mlir-cpu-runner.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mlir/tools/mlir-cpu-runner/mlir-cpu-runner.cpp b/mlir/tools/mlir-cpu-runner/mlir-cpu-runner.cpp new file mode 100644 index 00000000000..144f73d9c97 --- /dev/null +++ b/mlir/tools/mlir-cpu-runner/mlir-cpu-runner.cpp @@ -0,0 +1,19 @@ +//===- mlir-cpu-runner.cpp - MLIR CPU Execution Driver---------------------===// +// +// Part of the MLIR Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// +// +// Main entry point to a command line utility that executes an MLIR file on the +// CPU by translating MLIR to LLVM IR before JIT-compiling and executing the +// latter. +// +//===----------------------------------------------------------------------===// + +#include "mlir/Support/JitRunner.h" + +int main(int argc, char **argv) { + return mlir::JitRunnerMain(argc, argv, nullptr); +} |