[Mlir-commits] [mlir] 7d62bc9 - [mlir][sparse] disable sparse convolution test cases.
Peiming Liu
llvmlistbot at llvm.org
Wed Feb 15 15:21:41 PST 2023
Author: Peiming Liu
Date: 2023-02-15T23:21:35Z
New Revision: 7d62bc9cd3805d44d09d1f224c872f07584ac24a
URL: https://github.com/llvm/llvm-project/commit/7d62bc9cd3805d44d09d1f224c872f07584ac24a
DIFF: https://github.com/llvm/llvm-project/commit/7d62bc9cd3805d44d09d1f224c872f07584ac24a.diff
LOG: [mlir][sparse] disable sparse convolution test cases.
These test cases will be re-enabled after new algorithm is implemented.
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D144141
Added:
Modified:
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_1d_nwc_wcf.mlir
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d.mlir
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d_nhwc_hwcf.mlir
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d.mlir
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d_ndhwc_dhwcf.mlir
Removed:
################################################################################
diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_1d_nwc_wcf.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_1d_nwc_wcf.mlir
index 648d6de79c75..94d8a2f7b7f9 100644
--- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_1d_nwc_wcf.mlir
+++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_1d_nwc_wcf.mlir
@@ -1,3 +1,8 @@
+// UNSUPPORTED: target={{.*}}
+// FIXME: The test case is disabled (for now) because affine index on sparse tensor
+// are not handled efficiently by sparse compiler, the test case will be re-enabled
+// after new algorithm is implemented.
+
// DEFINE: %{option} = enable-runtime-library=true
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler=%{option}
// DEFINE: %{run} = mlir-cpu-runner \
diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d.mlir
index 89c35306d124..1ca6b81285e2 100644
--- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d.mlir
+++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d.mlir
@@ -1,3 +1,8 @@
+// UNSUPPORTED: target={{.*}}
+// FIXME: The test case is disabled (for now) because affine index on sparse tensor
+// are not handled efficiently by sparse compiler, the test case will be re-enabled
+// after new algorithm is implemented.
+
// DEFINE: %{option} = enable-runtime-library=true
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler=%{option}
// DEFINE: %{run} = mlir-cpu-runner \
diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d_nhwc_hwcf.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d_nhwc_hwcf.mlir
index 9ade4a910bb1..c7f8cfde3ca4 100644
--- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d_nhwc_hwcf.mlir
+++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d_nhwc_hwcf.mlir
@@ -1,3 +1,8 @@
+// UNSUPPORTED: target={{.*}}
+// FIXME: The test case is disabled (for now) because affine index on sparse tensor
+// are not handled efficiently by sparse compiler, the test case will be re-enabled
+// after new algorithm is implemented.
+
// DEFINE: %{option} = enable-runtime-library=true
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler=%{option}
// DEFINE: %{run} = mlir-cpu-runner \
diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d.mlir
index c1e6e6d4b0d0..3c7d89f26401 100644
--- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d.mlir
+++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d.mlir
@@ -1,3 +1,8 @@
+// UNSUPPORTED: target={{.*}}
+// FIXME: The test case is disabled (for now) because affine index on sparse tensor
+// are not handled efficiently by sparse compiler, the test case will be re-enabled
+// after new algorithm is implemented.
+
// DEFINE: %{option} = enable-runtime-library=true
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler=%{option}
// DEFINE: %{run} = mlir-cpu-runner \
diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d_ndhwc_dhwcf.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d_ndhwc_dhwcf.mlir
index c17fa1d87abf..f6363e14a473 100644
--- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d_ndhwc_dhwcf.mlir
+++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d_ndhwc_dhwcf.mlir
@@ -1,3 +1,8 @@
+// UNSUPPORTED: target={{.*}}
+// FIXME: The test case is disabled (for now) because affine index on sparse tensor
+// are not handled efficiently by sparse compiler, the test case will be re-enabled
+// after new algorithm is implemented.
+
// DEFINE: %{option} = enable-runtime-library=true
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler=%{option}
// DEFINE: %{run} = mlir-cpu-runner \
More information about the Mlir-commits
mailing list