diff options
author | Derek Lamberti <derek.lamberti@arm.com> | 2019-12-10 22:07:09 +0000 |
---|---|---|
committer | Derek Lamberti <derek.lamberti@arm.com> | 2020-01-02 15:16:28 +0000 |
commit | 901ea11e3da6b97df52bdc2a547990402e920ede (patch) | |
tree | 3c93b40643d274d6bb77abfcde99677b80d4513a /src/backends/reference/RefLayerSupport.cpp | |
parent | b4f312cefc70df2cdacd5a52a522fc8b027cc6e8 (diff) | |
download | armnn-901ea11e3da6b97df52bdc2a547990402e920ede.tar.gz |
IVGCVSW-4246 Clean build of backends with -Wextra
Change-Id: I9e8d5576b3ec04c871785d5f2f9545bf1136e59b
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Diffstat (limited to 'src/backends/reference/RefLayerSupport.cpp')
-rw-r--r-- | src/backends/reference/RefLayerSupport.cpp | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/backends/reference/RefLayerSupport.cpp b/src/backends/reference/RefLayerSupport.cpp index 19b76152f3..ebcd1f633e 100644 --- a/src/backends/reference/RefLayerSupport.cpp +++ b/src/backends/reference/RefLayerSupport.cpp @@ -648,6 +648,8 @@ bool RefLayerSupport::IsDetectionPostProcessSupported(const TensorInfo& boxEncod const DetectionPostProcessDescriptor& descriptor, Optional<std::string&> reasonIfUnsupported) const { + boost::ignore_unused(anchors, detectionBoxes, detectionClasses, detectionScores, numDetections, descriptor); + bool supported = true; std::array<DataType,3> supportedInputTypes = @@ -863,8 +865,8 @@ bool RefLayerSupport::IsGreaterSupported(const TensorInfo& input0, reasonIfUnsupported); } -bool RefLayerSupport::IsInputSupported(const TensorInfo& input, - Optional<std::string&> reasonIfUnsupported) const +bool RefLayerSupport::IsInputSupported(const TensorInfo& /*input*/, + Optional<std::string&> /*reasonIfUnsupported*/) const { return true; } @@ -1301,8 +1303,8 @@ bool RefLayerSupport::IsNormalizationSupported(const TensorInfo& input, return supported; } -bool RefLayerSupport::IsOutputSupported(const TensorInfo& output, - Optional<std::string&> reasonIfUnsupported) const +bool RefLayerSupport::IsOutputSupported(const TensorInfo& /*output*/, + Optional<std::string&> /*reasonIfUnsupported*/) const { return true; } @@ -1470,6 +1472,7 @@ bool RefLayerSupport::IsResizeSupported(const TensorInfo& input, const ResizeDescriptor& descriptor, Optional<std::string&> reasonIfUnsupported) const { + boost::ignore_unused(descriptor); bool supported = true; std::array<DataType,4> supportedTypes = { @@ -1524,7 +1527,7 @@ bool RefLayerSupport::IsSliceSupported(const TensorInfo& input, const SliceDescriptor& descriptor, Optional<std::string&> reasonIfUnsupported) const { - ignore_unused(descriptor); + boost::ignore_unused(descriptor); bool supported = true; std::array<DataType, 3> supportedTypes = @@ -1551,7 +1554,7 @@ bool RefLayerSupport::IsSoftmaxSupported(const TensorInfo& input, const SoftmaxDescriptor& descriptor, Optional<std::string&> reasonIfUnsupported) const { - ignore_unused(output); + boost::ignore_unused(descriptor); bool supported = true; std::array<DataType,4> supportedTypes = { @@ -1578,7 +1581,7 @@ bool RefLayerSupport::IsSpaceToBatchNdSupported(const TensorInfo& input, const SpaceToBatchNdDescriptor& descriptor, Optional<std::string&> reasonIfUnsupported) const { - ignore_unused(output); + boost::ignore_unused(descriptor); bool supported = true; std::array<DataType,4> supportedTypes = { @@ -1811,6 +1814,7 @@ bool RefLayerSupport::IsTransposeConvolution2dSupported(const TensorInfo& input, const Optional<TensorInfo>& biases, Optional<std::string&> reasonIfUnsupported) const { + boost::ignore_unused(descriptor); bool supported = true; std::array<DataType,4> supportedTypes = |