diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-10-02 17:22:11 +0100 |
---|---|---|
committer | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-10-08 09:08:50 +0000 |
commit | 6bff195a51915fd88c1aa1904cf269dbd1a04f50 (patch) | |
tree | 645fc3bb8f6bbe05aeb16385a52a696973da0b73 /tests/benchmark/fixtures | |
parent | 6665f82b38ce904aa588230546d66e65d38f20d6 (diff) | |
download | ComputeLibrary-6bff195a51915fd88c1aa1904cf269dbd1a04f50.tar.gz |
COMPMID-2486: Remove disabled compiler warnings
Removed -Wno-unused-parameter and -Wno-deprecated-declarations
compilation flags.
Plus, 3RDPARTY_UPDATE.
Change-Id: I43098c7af527d5651aad3c597b508a56f8813dda
Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com>
Reviewed-on: https://review.mlplatform.org/c/2041
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/benchmark/fixtures')
-rw-r--r-- | tests/benchmark/fixtures/ConvolutionFixture.h | 12 | ||||
-rw-r--r-- | tests/benchmark/fixtures/DepthwiseConvolutionLayerFixture.h | 2 | ||||
-rw-r--r-- | tests/benchmark/fixtures/ElementWiseUnaryFixture.h | 14 |
3 files changed, 15 insertions, 13 deletions
diff --git a/tests/benchmark/fixtures/ConvolutionFixture.h b/tests/benchmark/fixtures/ConvolutionFixture.h index 3f9c2a4f27..f355168ec1 100644 --- a/tests/benchmark/fixtures/ConvolutionFixture.h +++ b/tests/benchmark/fixtures/ConvolutionFixture.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -73,7 +73,7 @@ public: dst = create_tensor<TensorType>(src_shape, output_data_type); // Configure function - configure_target(convolution_func, src, dst, conv.data(), scale, border_mode, constant_border_value); + configure_target(src, dst, conv.data(), scale, border_mode, constant_border_value); // Allocate tensors src.allocator()->allocate(); @@ -96,7 +96,7 @@ public: } protected: - virtual void configure_target(Function &func, TensorType &src, TensorType &dst, const int16_t *conv, uint32_t scale, + virtual void configure_target(TensorType &src, TensorType &dst, const int16_t *conv, uint32_t scale, BorderMode border_mode, uint8_t border_value) = 0; protected: @@ -122,7 +122,7 @@ public: } protected: - void configure_target(Function &func, TensorType &src, TensorType &dst, const int16_t *conv, uint32_t scale, + void configure_target(TensorType &src, TensorType &dst, const int16_t *conv, uint32_t scale, BorderMode border_mode, uint8_t constant_border_value) { this->convolution_func.configure(&src, &dst, conv, scale, border_mode, constant_border_value); @@ -141,7 +141,7 @@ public: } protected: - void configure_target(Function &func, TensorType &src, TensorType &dst, const int16_t *conv, uint32_t scale, + void configure_target(TensorType &src, TensorType &dst, const int16_t *conv, uint32_t scale, BorderMode border_mode, uint8_t constant_border_value) { this->convolution_func.configure(&src, &dst, conv, this->_width, this->_height, scale, border_mode, constant_border_value); @@ -160,7 +160,7 @@ public: } protected: - void configure_target(Function &func, TensorType &src, TensorType &dst, const int16_t *conv, uint32_t scale, + void configure_target(TensorType &src, TensorType &dst, const int16_t *conv, uint32_t scale, BorderMode border_mode, uint8_t constant_border_value) { this->convolution_func.configure(&src, &dst, conv, scale, border_mode, constant_border_value); diff --git a/tests/benchmark/fixtures/DepthwiseConvolutionLayerFixture.h b/tests/benchmark/fixtures/DepthwiseConvolutionLayerFixture.h index 33753bcd07..09da816fd4 100644 --- a/tests/benchmark/fixtures/DepthwiseConvolutionLayerFixture.h +++ b/tests/benchmark/fixtures/DepthwiseConvolutionLayerFixture.h @@ -47,6 +47,8 @@ public: template <typename...> void setup(TensorShape src_shape, Size2D kernel_size, PadStrideInfo info, Size2D Dilation, DataType data_type, int batches) { + ARM_COMPUTE_UNUSED(Dilation); + // Get shapes TensorShape weights_shape(kernel_size.width, kernel_size.height); diff --git a/tests/benchmark/fixtures/ElementWiseUnaryFixture.h b/tests/benchmark/fixtures/ElementWiseUnaryFixture.h index e4f76a441f..a26f7c84c0 100644 --- a/tests/benchmark/fixtures/ElementWiseUnaryFixture.h +++ b/tests/benchmark/fixtures/ElementWiseUnaryFixture.h @@ -44,7 +44,7 @@ class ElementWiseUnaryBenchmarkFixture : public framework::Fixture { public: template <typename...> - void setup(TensorShape input_shape, DataType input_data_type, ElementWiseUnary op) + void setup(TensorShape input_shape, DataType input_data_type) { src = create_tensor<TensorType>(input_shape, input_data_type); dst = create_tensor<TensorType>(input_shape, input_data_type); @@ -80,7 +80,7 @@ public: template <typename...> void setup(const TensorShape &shape, DataType data_type) { - ElementWiseUnaryBenchmarkFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, data_type, ElementWiseUnary::RSQRT); + ElementWiseUnaryBenchmarkFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, data_type); } }; @@ -91,7 +91,7 @@ public: template <typename...> void setup(const TensorShape &shape, DataType data_type) { - ElementWiseUnaryBenchmarkFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, data_type, ElementWiseUnary::EXP); + ElementWiseUnaryBenchmarkFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, data_type); } }; @@ -102,7 +102,7 @@ public: template <typename...> void setup(const TensorShape &shape, DataType data_type) { - ElementWiseUnaryBenchmarkFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, data_type, ElementWiseUnary::NEG); + ElementWiseUnaryBenchmarkFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, data_type); } }; @@ -113,7 +113,7 @@ public: template <typename...> void setup(const TensorShape &shape, DataType data_type) { - ElementWiseUnaryBenchmarkFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, data_type, ElementWiseUnary::LOG); + ElementWiseUnaryBenchmarkFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, data_type); } }; @@ -124,7 +124,7 @@ public: template <typename...> void setup(const TensorShape &shape, DataType data_type) { - ElementWiseUnaryBenchmarkFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, data_type, ElementWiseUnary::ABS); + ElementWiseUnaryBenchmarkFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, data_type); } }; @@ -135,7 +135,7 @@ public: template <typename...> void setup(const TensorShape &shape, DataType data_type) { - ElementWiseUnaryBenchmarkFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, data_type, ElementWiseUnary::SIN); + ElementWiseUnaryBenchmarkFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, data_type); } }; } // namespace validation |