aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorManuel Bottini <manuel.bottini@arm.com>2020-06-23 12:22:15 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2020-06-23 15:17:13 +0000
commit36b8f0503218ecae5aafc4c5d825a7a60bdd9c39 (patch)
tree9e60c25c6576be978649701da3adfff68a68abd2 /tests
parentb2842be42f89591b449d91ef91e3a6c8a1e85b4a (diff)
downloadComputeLibrary-36b8f0503218ecae5aafc4c5d825a7a60bdd9c39.tar.gz
Fixes Failures Nightly #818
- COMPMID-3542: Nightly failure: /tests/validation/fixtures/PixelWiseMultiplicationFixture.h error: lambda capture 'this' is not used - COMPMID-3544: Nightly failure: undefined reference to arm_compute::test::validation::reference::arithmetic_operation<int> Change-Id: Ia7f8a50a4debfe43dd6be41a52cf62ee3092ae6e Signed-off-by: Manuel Bottini <manuel.bottini@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3445 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/validation/fixtures/PixelWiseMultiplicationFixture.h2
-rw-r--r--tests/validation/reference/ArithmeticOperations.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/validation/fixtures/PixelWiseMultiplicationFixture.h b/tests/validation/fixtures/PixelWiseMultiplicationFixture.h
index 584ca50ce1..315c8403b2 100644
--- a/tests/validation/fixtures/PixelWiseMultiplicationFixture.h
+++ b/tests/validation/fixtures/PixelWiseMultiplicationFixture.h
@@ -80,7 +80,7 @@ protected:
TensorType src2 = create_tensor<TensorType>(shape1, dt_in2, 1, qinfo1);
TensorType dst = create_tensor<TensorType>(TensorShape::broadcast_shape(shape0, shape1), dt_out, 1, qinfo_out);
- auto allocate_tensor = [this](TensorType & t)
+ auto allocate_tensor = [](TensorType & t)
{
ARM_COMPUTE_EXPECT(t.info()->is_resizable(), framework::LogLevel::ERRORS);
t.allocator()->allocate();
diff --git a/tests/validation/reference/ArithmeticOperations.cpp b/tests/validation/reference/ArithmeticOperations.cpp
index 40f4e64fbf..1c62ac67d9 100644
--- a/tests/validation/reference/ArithmeticOperations.cpp
+++ b/tests/validation/reference/ArithmeticOperations.cpp
@@ -180,6 +180,7 @@ SimpleTensor<int16_t> arithmetic_operation(ArithmeticOperation op, const SimpleT
}
}
+template SimpleTensor<int32_t> arithmetic_operation(ArithmeticOperation op, const SimpleTensor<int32_t> &src1, const SimpleTensor<int32_t> &src2, SimpleTensor<int32_t> &dst, ConvertPolicy convert_policy);
template SimpleTensor<half> arithmetic_operation(ArithmeticOperation op, const SimpleTensor<half> &src1, const SimpleTensor<half> &src2, SimpleTensor<half> &dst, ConvertPolicy convert_policy);
template SimpleTensor<float> arithmetic_operation(ArithmeticOperation op, const SimpleTensor<float> &src1, const SimpleTensor<float> &src2, SimpleTensor<float> &dst, ConvertPolicy convert_policy);