aboutsummaryrefslogtreecommitdiff
path: root/src/backends/backendsCommon/test/layerTests/Conv2dTestImpl.cpp
diff options
context:
space:
mode:
authorDerek Lamberti <derek.lamberti@arm.com>2019-12-10 21:57:35 +0000
committerJim Flynn Arm <jim.flynn@arm.com>2019-12-17 19:56:24 +0000
commitc374ff06b9e9f45bcf48f4af6bda054f4b243cf6 (patch)
treebbf246ffa218df56ccbfda30e5e64c1e6bbfdf06 /src/backends/backendsCommon/test/layerTests/Conv2dTestImpl.cpp
parent7f834729c3d967f5b0f774c13eb4ebb3bf9041d5 (diff)
downloadarmnn-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/Conv2dTestImpl.cpp')
-rw-r--r--src/backends/backendsCommon/test/layerTests/Conv2dTestImpl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/backends/backendsCommon/test/layerTests/Conv2dTestImpl.cpp b/src/backends/backendsCommon/test/layerTests/Conv2dTestImpl.cpp
index e825fffaea..a00fda7679 100644
--- a/src/backends/backendsCommon/test/layerTests/Conv2dTestImpl.cpp
+++ b/src/backends/backendsCommon/test/layerTests/Conv2dTestImpl.cpp
@@ -218,6 +218,7 @@ LayerTestResult<T, 4> SimpleConvolution2dTestImpl(
uint32_t dilationX = 1,
uint32_t dilationY = 1)
{
+ boost::ignore_unused(memoryManager);
unsigned int inputHeight = boost::numeric_cast<unsigned int>(originalInput.shape()[2]);
unsigned int inputWidth = boost::numeric_cast<unsigned int>(originalInput.shape()[3]);
unsigned int inputChannels = boost::numeric_cast<unsigned int>(originalInput.shape()[1]);
@@ -381,6 +382,7 @@ LayerTestResult<T, 4> SimpleConvolution2dNhwcTestImpl(
uint32_t strideX = 1,
uint32_t strideY = 1)
{
+ boost::ignore_unused(qScale, qOffset);
unsigned int inputNum = boost::numeric_cast<unsigned int>(input.shape()[0]);
unsigned int inputChannels = boost::numeric_cast<unsigned int>(input.shape()[3]);
unsigned int inputHeight = boost::numeric_cast<unsigned int>(input.shape()[1]);
@@ -586,6 +588,7 @@ LayerTestResult<T, 4> SimpleConvolution2d3x3NhwcTestCommon(
bool biasEnabled,
armnn::DataLayout dataLayout)
{
+ boost::ignore_unused(biasEnabled);
// Use common single-batch 5x5 image.
armnn::TensorInfo inputDesc({1, 3, 4, 1}, ArmnnType);
@@ -638,6 +641,8 @@ LayerTestResult<T, 4> SimpleConvolution2d3x3Stride2x2TestCommon(
bool biasEnabled,
const armnn::DataLayout& dataLayout)
{
+ boost::ignore_unused(biasEnabled);
+
// Input is a single-batch, 1 channel, 5x5 image.
armnn::TensorInfo inputDesc({1, 5, 5, 1}, ArmnnType);
boost::multi_array<T, 4> input = MakeTensor<T, 4>(inputDesc,