Loading mlir/include/mlir/ExecutionEngine/CRunnerUtils.h +6 −0 Original line number Diff line number Diff line Loading @@ -209,6 +209,12 @@ extern "C" MLIR_CRUNNERUTILS_EXPORT void printClose(); extern "C" MLIR_CRUNNERUTILS_EXPORT void printComma(); extern "C" MLIR_CRUNNERUTILS_EXPORT void printNewline(); //===----------------------------------------------------------------------===// // Small runtime support library for timing execution and printing GFLOPS //===----------------------------------------------------------------------===// extern "C" MLIR_CRUNNERUTILS_EXPORT void print_flops(double flops); extern "C" MLIR_CRUNNERUTILS_EXPORT double rtclock(); //===----------------------------------------------------------------------===// // Small runtime support library for sparse tensors. //===----------------------------------------------------------------------===// Loading mlir/integration_test/Dialect/Linalg/CPU/benchmark_matmul.mlir +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ // RUN: mlir-cpu-runner -O3 -e main -entry-point-result=void \ // Activate to dump assembly // R_UN: -dump-object-file -object-filename=/tmp/a.o \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_runner_utils%shlibext | \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_c_runner_utils%shlibext | \ // Use tee to both print to stderr and FileCheck // RUN: tee -a /dev/stderr | FileCheck %s Loading mlir/integration_test/Dialect/Linalg/CPU/benchmark_matmul_column_major.mlir +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ // RUN: mlir-cpu-runner -O3 -e main -entry-point-result=void \ // Activate to dump assembly // R_UN: -dump-object-file -object-filename=/tmp/a.o \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_runner_utils%shlibext | \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_c_runner_utils%shlibext | \ // Use tee to both print to stderr and FileCheck // RUN: tee -a /dev/stderr | FileCheck %s Loading mlir/integration_test/Dialect/Linalg/CPU/benchmark_matmul_column_major_as_row_major.mlir +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ // RUN: mlir-cpu-runner -O3 -e main -entry-point-result=void \ // Activate to dump assembly // R_UN: -dump-object-file -object-filename=/tmp/a.o \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_runner_utils%shlibext | \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_c_runner_utils%shlibext | \ // Use tee to both print to stderr and FileCheck // RUN: tee -a /dev/stderr | FileCheck %s Loading mlir/integration_test/Dialect/Linalg/CPU/benchmark_matmul_i8_i8_i32.mlir +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ // RUN: mlir-cpu-runner -O3 -e main -entry-point-result=void \ // Activate to dump assembly // R_UN: -dump-object-file -object-filename=/tmp/a.o \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_runner_utils%shlibext | \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_c_runner_utils%shlibext | \ // Use tee to both print to stderr and FileCheck // RUN: tee -a /dev/stderr | FileCheck %s Loading Loading
mlir/include/mlir/ExecutionEngine/CRunnerUtils.h +6 −0 Original line number Diff line number Diff line Loading @@ -209,6 +209,12 @@ extern "C" MLIR_CRUNNERUTILS_EXPORT void printClose(); extern "C" MLIR_CRUNNERUTILS_EXPORT void printComma(); extern "C" MLIR_CRUNNERUTILS_EXPORT void printNewline(); //===----------------------------------------------------------------------===// // Small runtime support library for timing execution and printing GFLOPS //===----------------------------------------------------------------------===// extern "C" MLIR_CRUNNERUTILS_EXPORT void print_flops(double flops); extern "C" MLIR_CRUNNERUTILS_EXPORT double rtclock(); //===----------------------------------------------------------------------===// // Small runtime support library for sparse tensors. //===----------------------------------------------------------------------===// Loading
mlir/integration_test/Dialect/Linalg/CPU/benchmark_matmul.mlir +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ // RUN: mlir-cpu-runner -O3 -e main -entry-point-result=void \ // Activate to dump assembly // R_UN: -dump-object-file -object-filename=/tmp/a.o \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_runner_utils%shlibext | \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_c_runner_utils%shlibext | \ // Use tee to both print to stderr and FileCheck // RUN: tee -a /dev/stderr | FileCheck %s Loading
mlir/integration_test/Dialect/Linalg/CPU/benchmark_matmul_column_major.mlir +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ // RUN: mlir-cpu-runner -O3 -e main -entry-point-result=void \ // Activate to dump assembly // R_UN: -dump-object-file -object-filename=/tmp/a.o \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_runner_utils%shlibext | \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_c_runner_utils%shlibext | \ // Use tee to both print to stderr and FileCheck // RUN: tee -a /dev/stderr | FileCheck %s Loading
mlir/integration_test/Dialect/Linalg/CPU/benchmark_matmul_column_major_as_row_major.mlir +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ // RUN: mlir-cpu-runner -O3 -e main -entry-point-result=void \ // Activate to dump assembly // R_UN: -dump-object-file -object-filename=/tmp/a.o \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_runner_utils%shlibext | \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_c_runner_utils%shlibext | \ // Use tee to both print to stderr and FileCheck // RUN: tee -a /dev/stderr | FileCheck %s Loading
mlir/integration_test/Dialect/Linalg/CPU/benchmark_matmul_i8_i8_i32.mlir +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ // RUN: mlir-cpu-runner -O3 -e main -entry-point-result=void \ // Activate to dump assembly // R_UN: -dump-object-file -object-filename=/tmp/a.o \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_runner_utils%shlibext | \ // RUN: -shared-libs=%mlir_integration_test_dir/libmlir_c_runner_utils%shlibext | \ // Use tee to both print to stderr and FileCheck // RUN: tee -a /dev/stderr | FileCheck %s Loading