From 6bff195a51915fd88c1aa1904cf269dbd1a04f50 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Wed, 2 Oct 2019 17:22:11 +0100 Subject: 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 Reviewed-on: https://review.mlplatform.org/c/2041 Comments-Addressed: Arm Jenkins Reviewed-by: Georgios Pinitas Tested-by: Arm Jenkins --- src/runtime/CL/CLHelpers.cpp | 1 + src/runtime/CPP/functions/CPPBoxWithNonMaximaSuppressionLimit.cpp | 1 + src/runtime/GLES_COMPUTE/functions/GCFullyConnectedLayer.cpp | 4 ++-- src/runtime/NEON/functions/assembly/NEGEMMInterleavedWrapper.cpp | 7 ++++++- 4 files changed, 10 insertions(+), 3 deletions(-) (limited to 'src/runtime') diff --git a/src/runtime/CL/CLHelpers.cpp b/src/runtime/CL/CLHelpers.cpp index 8bc7b8eb7b..edfc8ed2aa 100644 --- a/src/runtime/CL/CLHelpers.cpp +++ b/src/runtime/CL/CLHelpers.cpp @@ -32,6 +32,7 @@ namespace #if defined(ARM_COMPUTE_ASSERTS_ENABLED) void printf_callback(const char *buffer, unsigned int len, size_t complete, void *user_data) { + ARM_COMPUTE_UNUSED(complete, user_data); printf("%.*s", len, buffer); } #endif /* defined(ARM_COMPUTE_ASSERTS_ENABLED) */ diff --git a/src/runtime/CPP/functions/CPPBoxWithNonMaximaSuppressionLimit.cpp b/src/runtime/CPP/functions/CPPBoxWithNonMaximaSuppressionLimit.cpp index 782771bc50..d4be939c52 100644 --- a/src/runtime/CPP/functions/CPPBoxWithNonMaximaSuppressionLimit.cpp +++ b/src/runtime/CPP/functions/CPPBoxWithNonMaximaSuppressionLimit.cpp @@ -196,6 +196,7 @@ void CPPBoxWithNonMaximaSuppressionLimit::configure(const ITensor *scores_in, co Status validate(const ITensorInfo *scores_in, const ITensorInfo *boxes_in, const ITensorInfo *batch_splits_in, const ITensorInfo *scores_out, const ITensorInfo *boxes_out, const ITensorInfo *classes, const ITensorInfo *batch_splits_out, const ITensorInfo *keeps, const ITensorInfo *keeps_size, const BoxNMSLimitInfo info) { + ARM_COMPUTE_UNUSED(batch_splits_in, batch_splits_out, keeps, keeps_size, info); ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR(scores_in, boxes_in, scores_out, boxes_out, classes); ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(scores_in, 1, DataType::QASYMM8, DataType::F16, DataType::F32); diff --git a/src/runtime/GLES_COMPUTE/functions/GCFullyConnectedLayer.cpp b/src/runtime/GLES_COMPUTE/functions/GCFullyConnectedLayer.cpp index 4ccda88279..8f26c620b5 100644 --- a/src/runtime/GLES_COMPUTE/functions/GCFullyConnectedLayer.cpp +++ b/src/runtime/GLES_COMPUTE/functions/GCFullyConnectedLayer.cpp @@ -39,8 +39,8 @@ void GCFullyConnectedLayerReshapeWeights::configure(const IGCTensor *input, IGCT } GCFullyConnectedLayer::GCFullyConnectedLayer(std::shared_ptr memory_manager, IWeightsManager *weights_manager) - : _memory_group(std::move(memory_manager)), _im2col_kernel(), _reshape_weights_kernel(), _mm_kernel(), _accumulate_biases_kernel(), _im2col_output(), _reshape_weights_output(), - _original_weights(nullptr), _are_weights_reshaped(true), _is_fc_after_conv(true), _accumulate_biases(false) + : _memory_group(std::move(memory_manager)), _weights_manager(std::move(weights_manager)), _im2col_kernel(), _reshape_weights_kernel(), _mm_kernel(), _accumulate_biases_kernel(), _im2col_output(), + _reshape_weights_output(), _original_weights(nullptr), _are_weights_reshaped(true), _is_fc_after_conv(true), _accumulate_biases(false) { } diff --git a/src/runtime/NEON/functions/assembly/NEGEMMInterleavedWrapper.cpp b/src/runtime/NEON/functions/assembly/NEGEMMInterleavedWrapper.cpp index 79e40a7181..1aeab5b9cb 100644 --- a/src/runtime/NEON/functions/assembly/NEGEMMInterleavedWrapper.cpp +++ b/src/runtime/NEON/functions/assembly/NEGEMMInterleavedWrapper.cpp @@ -171,17 +171,21 @@ public: } void mark_as_reshaped(unsigned int index) override { + ARM_COMPUTE_UNUSED(index); } void wait_for_reshaping(unsigned int index) override { + ARM_COMPUTE_UNUSED(index); } void mark_as_unused(unsigned int index) override { + ARM_COMPUTE_UNUSED(index); } }; NEGEMMInterleavedWrapper::NEGEMMInterleavedWrapper(std::shared_ptr memory_manager, IWeightsManager *weights_manager) - : _memory_group(std::move(memory_manager)) + : _memory_group(std::move(memory_manager)), + _weights_manager(weights_manager) { } @@ -195,6 +199,7 @@ void NEGEMMInterleavedWrapper::run() void NEGEMMInterleavedWrapper::prepare() { + ARM_COMPUTE_UNUSED(_weights_manager); if(!_is_prepared) { if(_pretranspose_b) -- cgit v1.2.1