diff options
author | Gunes Bayir <gunes.bayir@arm.com> | 2024-04-16 09:45:58 +0100 |
---|---|---|
committer | Gunes Bayir <gunes.bayir@arm.com> | 2024-04-16 09:54:28 +0000 |
commit | 83ca105b1fc8c440fe56e3389e8ffd7346612411 (patch) | |
tree | 3ef347e3a48b78a7e4d0a961470b0ce2436da583 /tests | |
parent | 6ac82a453a5bccd7216ff8049ea335eb95c28831 (diff) | |
download | ComputeLibrary-83ca105b1fc8c440fe56e3389e8ffd7346612411.tar.gz |
Fix v7 test failure when core matmul result is dequantized into fp32
Partially Resolves: ONCPUML-1444, MLINFSW-439
Change-Id: Ic7498d6944df2848f3e82eaf4e11cc5cb6ef5754
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/11424
Reviewed-by: Anitha Raj <Anitha.Raj@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/validation/NEON/GEMMLowp.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/validation/NEON/GEMMLowp.cpp b/tests/validation/NEON/GEMMLowp.cpp index 1231c21ddb..9b1da61ed7 100644 --- a/tests/validation/NEON/GEMMLowp.cpp +++ b/tests/validation/NEON/GEMMLowp.cpp @@ -53,7 +53,6 @@ namespace { constexpr AbsoluteTolerance<float> tolerance_batched(1); constexpr AbsoluteTolerance<float> tolerance_quant(1); - constexpr AbsoluteTolerance<float> tolerance_dequantized(0.01f); } // namespace @@ -357,7 +356,10 @@ FIXTURE_DATA_TEST_CASE(RunLarge, NEGEMMLowpMatrixMultiplyCoreDynamicQuantization } TEST_SUITE_END() // DynamicQuantization +#ifdef __aarch64__ +// Deqaunt tests involve returning F32 from the MatrixMultiplyCore kernels and is only implemented in aarch64 TEST_SUITE(Dequant) +constexpr AbsoluteTolerance<float> tolerance_dequantized(0.01f); FIXTURE_DATA_TEST_CASE(RunSmall, NEGEMMLowpDequantizedMatrixMultiplyValidationFixture, framework::DatasetMode::ALL, datasets::SmallGEMMLowpDataset()) { // Validate output @@ -370,6 +372,7 @@ FIXTURE_DATA_TEST_CASE(RunLarge, NEGEMMLowpDequantizedMatrixMultiplyValidationFi validate(Accessor(_target), _reference, tolerance_dequantized); } TEST_SUITE_END() // Dequant +#endif // __aarch64__ TEST_SUITE_END() // MatrixMultiplyCore TEST_SUITE_END() // GEMMLowp |