diff options
author | Derek Lamberti <derek.lamberti@arm.com> | 2019-12-10 21:57:35 +0000 |
---|---|---|
committer | Jim Flynn Arm <jim.flynn@arm.com> | 2019-12-17 19:56:24 +0000 |
commit | c374ff06b9e9f45bcf48f4af6bda054f4b243cf6 (patch) | |
tree | bbf246ffa218df56ccbfda30e5e64c1e6bbfdf06 /src/backends/backendsCommon/test/layerTests/ActivationTestImpl.cpp | |
parent | 7f834729c3d967f5b0f774c13eb4ebb3bf9041d5 (diff) | |
download | armnn-c374ff06b9e9f45bcf48f4af6bda054f4b243cf6.tar.gz |
IVGCVSW-4246 Clean build of LayerTests with -Wextra
Change-Id: If3d98e45a6e2fa8e1afd19a4052334335feacf63
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Diffstat (limited to 'src/backends/backendsCommon/test/layerTests/ActivationTestImpl.cpp')
-rw-r--r-- | src/backends/backendsCommon/test/layerTests/ActivationTestImpl.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/backends/backendsCommon/test/layerTests/ActivationTestImpl.cpp b/src/backends/backendsCommon/test/layerTests/ActivationTestImpl.cpp index a45c6d5500..2f2d8dbd38 100644 --- a/src/backends/backendsCommon/test/layerTests/ActivationTestImpl.cpp +++ b/src/backends/backendsCommon/test/layerTests/ActivationTestImpl.cpp @@ -37,6 +37,7 @@ LayerTestResult<T, 4> BoundedReLuTestCommon( unsigned int inputChannels, unsigned int inputBatchSize) { + boost::ignore_unused(memoryManager); unsigned int outputWidth = inputWidth; unsigned int outputHeight = inputHeight; unsigned int outputChannels = inputChannels; @@ -245,6 +246,7 @@ boost::multi_array<float, 4> BoundedReLuRandomInputTest( float upperBound, const armnn::ActivationDescriptor& activationDescriptor) { + boost::ignore_unused(memoryManager); const armnn::TensorInfo inputTensorInfo = BoundedReLuRandomInputTestTraits::GetInputTensorInfo(); const armnn::TensorInfo outputTensorInfo = BoundedReLuRandomInputTestTraits::GetOutputTensorInfo(); @@ -309,6 +311,7 @@ LayerTestResult<T,4> ConstantLinearActivationTestCommon( float qScale = 0.0f, int32_t qOffset = 0) { + boost::ignore_unused(memoryManager); unsigned int inputHeight = 20; unsigned int inputWidth = 17; unsigned int inputChannels = 3; @@ -400,6 +403,7 @@ LayerTestResult<T, 4> SimpleActivationTest( int32_t outOffset, const std::vector<float>& outputExpectedData) { + boost::ignore_unused(memoryManager); constexpr static unsigned int inputWidth = 16u; constexpr static unsigned int inputHeight = 1u; constexpr static unsigned int inputChannels = 1u; @@ -790,6 +794,7 @@ LayerTestResult<float, 5> SqrtNNTest( armnn::IWorkloadFactory& workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) { + boost::ignore_unused(memoryManager); const int inputDataSize = 120; std::vector<float> inputData(inputDataSize); @@ -1023,6 +1028,7 @@ LayerTestResult<T,4> CompareActivationTestImpl( float qScale = 0.0f, int32_t qOffset = 0) { + boost::ignore_unused(memoryManager); unsigned int width = 17; unsigned int height = 29; unsigned int channels = 2; |