diff options
author | Ramy Elgammal <ramy.elgammal@arm.com> | 2023-04-04 14:41:10 +0100 |
---|---|---|
committer | Ramy Elgammal <ramy.elgammal@arm.com> | 2023-04-04 15:17:05 +0000 |
commit | dcab9ca1b7914eb8cadadfaa5fb468e469dca5d9 (patch) | |
tree | 7643bf491aaebcf4ae0612d6218ba1dc9ac4d0db /tests/validation/CL/MatMul.cpp | |
parent | 617ed50000532877296fff93973590a8ab67f96d (diff) | |
download | ComputeLibrary-dcab9ca1b7914eb8cadadfaa5fb468e469dca5d9.tar.gz |
Fix unused variable warning reported in nightly nuild
Resovles: COMPMID-6002
Change-Id: Ifc2b7c889679b21d7e58f533be9c865854e132ef
Signed-off-by: Ramy Elgammal <ramy.elgammal@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9408
Reviewed-by: Gunes Bayir <gunes.bayir@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/validation/CL/MatMul.cpp')
-rw-r--r-- | tests/validation/CL/MatMul.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/validation/CL/MatMul.cpp b/tests/validation/CL/MatMul.cpp index bd259f785e..7ebed43d97 100644 --- a/tests/validation/CL/MatMul.cpp +++ b/tests/validation/CL/MatMul.cpp @@ -58,7 +58,7 @@ FIXTURE_DATA_TEST_CASE(RunSmall, MatMulFixture<float>, framework::DatasetMode::P framework::dataset::make("DataType", DataType::F32))) { // Validate output - validate(CLAccessor(_target), _reference, tolerance_f32); + validate(CLAccessor(_target), _reference, tolerance_f32, 0.f, abs_tolerance_f32); } FIXTURE_DATA_TEST_CASE(RunLarge, MatMulFixture<float>, framework::DatasetMode::NIGHTLY, combine(combine(combine(datasets::LargeMatMulDataset(), framework::dataset::make("pretransose_A", { false, true })), @@ -66,7 +66,7 @@ FIXTURE_DATA_TEST_CASE(RunLarge, MatMulFixture<float>, framework::DatasetMode::N framework::dataset::make("DataType", DataType::F32))) { // Validate output - validate(CLAccessor(_target), _reference, tolerance_f32); + validate(CLAccessor(_target), _reference, tolerance_f32, 0.f, abs_tolerance_f32); } TEST_SUITE_END() // FP32 TEST_SUITE(FP16) @@ -76,7 +76,7 @@ FIXTURE_DATA_TEST_CASE(RunSmall, MatMulFixture<half>, framework::DatasetMode::PR framework::dataset::make("DataType", DataType::F16))) { // Validate output - validate(CLAccessor(_target), _reference, tolerance_f16); + validate(CLAccessor(_target), _reference, tolerance_f16, 0.f, abs_tolerance_f16); } FIXTURE_DATA_TEST_CASE(RunLarge, MatMulFixture<half>, framework::DatasetMode::NIGHTLY, combine(combine(combine(datasets::LargeMatMulDataset(), framework::dataset::make("pretransose_A", { false, true })), @@ -84,7 +84,7 @@ FIXTURE_DATA_TEST_CASE(RunLarge, MatMulFixture<half>, framework::DatasetMode::NI framework::dataset::make("DataType", DataType::F16))) { // Validate output - validate(CLAccessor(_target), _reference, tolerance_f16); + validate(CLAccessor(_target), _reference, tolerance_f16, 0.f, abs_tolerance_f16); } TEST_SUITE_END() // FP16 TEST_SUITE_END() // MatMul |