Skip to content

Commit aae6e64

Browse files
committed
[QNN EP] Disable MatMul 16x16 unit tests for linux platforms
- MatMul 16x16 is supported on few hardwares - Disable MatMul 16x16 unit tests for linux platforms
1 parent 6aff3d1 commit aae6e64

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

onnxruntime/test/providers/qnn/matmul_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ TEST_F(QnnHTPBackendTests, MatMulOp_QDQ_Regression_uint16_dynamic_inputs) {
340340
}
341341
}
342342

343+
#ifndef __linux__
343344
// Tests MatMul with two uint16 (quantized) inputs with weight as static.
344345
// This exercises a workaround in QNN EP that inserts a QNN Convert op before input[1] (converts from uint16 to sint16).
345346
// This workaround prevents a validation error for this specific MatMul configuration.
@@ -391,6 +392,7 @@ TEST_F(QnnHTPBackendTests, MatMulOp_QDQ_Regression_uint16_static_weight) {
391392
provider_options, 21, ExpectedEPNodeAssignment::All, QDQTolerance());
392393
}
393394
}
395+
#endif
394396

395397
#endif // defined(__aarch64__) || defined(_M_ARM64) || defined(__linux__)
396398

0 commit comments

Comments
 (0)