Skip to content

Commit 8a16102

Browse files
committed
Exclude 1-D test from DML
1 parent 11e6136 commit 8a16102

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

onnxruntime/test/providers/cpu/math/matmul_integer_test.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ TEST(MatmulIntegerOpTest, MatMulInteger_1D_Vector_KDimensionMismatch) {
539539
test.AddInput<uint8_t>("a_zero_point", {}, {0});
540540
test.AddInput<uint8_t>("b_zero_point", {}, {0});
541541
test.AddOutput<int32_t>("T3", {}, {0});
542-
test.Run(OpTester::ExpectResult::kExpectFailure, "MatMul dimension mismatch");
542+
test.Run(OpTester::ExpectResult::kExpectFailure, "MatMul dimension mismatch", {kDmlExecutionProvider});
543543
}
544544

545545
// Same regression test with int8_t types.
@@ -551,7 +551,7 @@ TEST(MatmulIntegerOpTest, MatMulInteger_int8_1D_Vector_KDimensionMismatch) {
551551
test.AddInput<int8_t>("a_zero_point", {}, {0});
552552
test.AddInput<int8_t>("b_zero_point", {}, {0});
553553
test.AddOutput<int32_t>("T3", {}, {0});
554-
test.Run(OpTester::ExpectResult::kExpectFailure, "MatMul dimension mismatch");
554+
test.Run(OpTester::ExpectResult::kExpectFailure, "MatMul dimension mismatch", {kDmlExecutionProvider});
555555
}
556556

557557
// 1D dot product: uint8 A x int8 B (mixed types).
@@ -746,7 +746,7 @@ TEST(MatmulIntegerOpTest, MatMulInteger_PerRow_A_ZeroPoint_Rejected) {
746746
test.AddInput<uint8_t>("a_zero_point", {2, 1}, {12, 10});
747747
test.AddInput<uint8_t>("b_zero_point", {}, {0});
748748
test.AddOutput<int32_t>("T3", {2, 2}, {0, 0, 0, 0});
749-
test.Run(OpTester::ExpectResult::kExpectFailure, "");
749+
test.Run(OpTester::ExpectResult::kExpectFailure, "", {kDmlExecutionProvider});
750750
}
751751

752752
} // namespace test

0 commit comments

Comments
 (0)