summaryrefslogtreecommitdiffstats
path: root/eval/src/tests/tensor/dense_xw_product_function/dense_xw_product_function_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eval/src/tests/tensor/dense_xw_product_function/dense_xw_product_function_test.cpp')
-rw-r--r--eval/src/tests/tensor/dense_xw_product_function/dense_xw_product_function_test.cpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/eval/src/tests/tensor/dense_xw_product_function/dense_xw_product_function_test.cpp b/eval/src/tests/tensor/dense_xw_product_function/dense_xw_product_function_test.cpp
index f18e72b0d07..b55e223ab07 100644
--- a/eval/src/tests/tensor/dense_xw_product_function/dense_xw_product_function_test.cpp
+++ b/eval/src/tests/tensor/dense_xw_product_function/dense_xw_product_function_test.cpp
@@ -49,12 +49,7 @@ EvalFixture::ParamRepo make_params() {
.add("x8y5", spec({x(8),y(5)}, MyMatSeq()))
.add("y5z8", spec({y(5),z(8)}, MyMatSeq()))
.add("x5y16", spec({x(5),y(16)}, MyMatSeq()))
- .add("y16z5", spec({y(16),z(5)}, MyMatSeq()))
- .add("a_y3", spec({y(3)}, MyVecSeq()), "any")
- .add("y3_u", spec({y(3)}, MyVecSeq()), "tensor(y[])")
- .add("a_x2y3", spec({x(2),y(3)}, MyMatSeq()), "any")
- .add("x2_uy3", spec({x(2),y(3)}, MyMatSeq()), "tensor(x[],y[3])")
- .add("x2y3_u", spec({x(2),y(3)}, MyMatSeq()), "tensor(x[2],y[])");
+ .add("y16z5", spec({y(16),z(5)}, MyMatSeq()));
}
EvalFixture::ParamRepo param_repo = make_params();
@@ -91,14 +86,6 @@ TEST("require that xw product gives same results as reference join/reduce") {
TEST_DO(verify_optimized("reduce(y16*y16z5,sum,y)", 16, 5, false));
}
-TEST("require that xw product is not optimized for abstract types") {
- TEST_DO(verify_not_optimized("reduce(a_y3*x2y3,sum)"));
- TEST_DO(verify_not_optimized("reduce(y3*a_x2y3,sum)"));
- TEST_DO(verify_not_optimized("reduce(y3_u*x2y3,sum)"));
- TEST_DO(verify_not_optimized("reduce(y3*x2_uy3,sum)"));
- TEST_DO(verify_not_optimized("reduce(y3*x2y3_u,sum)"));
-}
-
TEST("require that various variants of xw product can be optimized") {
TEST_DO(verify_optimized("reduce(y3*x2y3,sum,y)", 3, 2, true));
TEST_DO(verify_optimized("reduce(x2y3*y3,sum,y)", 3, 2, true));
@@ -118,8 +105,6 @@ TEST("require that expressions similar to xw product are not optimized") {
}
TEST("require that xw products with incompatible dimensions are not optimized") {
- TEST_DO(verify_not_optimized("reduce(y3*x1y1,sum,y)"));
- TEST_DO(verify_not_optimized("reduce(y3*x8y5,sum,y)"));
TEST_DO(verify_not_optimized("reduce(y3*x2z3,sum,y)"));
TEST_DO(verify_not_optimized("reduce(y3*x2z3,sum,z)"));
}