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 /arm_compute/core/NEON/kernels/assembly | |
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 'arm_compute/core/NEON/kernels/assembly')
3 files changed, 5 insertions, 3 deletions
diff --git a/arm_compute/core/NEON/kernels/assembly/NEGEMMInterleavedMatrixMultiplyWrapper.h b/arm_compute/core/NEON/kernels/assembly/NEGEMMInterleavedMatrixMultiplyWrapper.h index 40b6f5da39..641f88ee5f 100644 --- a/arm_compute/core/NEON/kernels/assembly/NEGEMMInterleavedMatrixMultiplyWrapper.h +++ b/arm_compute/core/NEON/kernels/assembly/NEGEMMInterleavedMatrixMultiplyWrapper.h @@ -165,7 +165,7 @@ public: // Merge the result with the other blocks' results: strat.transforms.Merge(c(0, 0, batch, wl._multi), tmp_c(0, info.thread_id), c.stride(1), y, ymax, wl._x0, wl._xmax, _alpha, (wl._k0 == 0 ? _beta : static_cast<typename strategy::result_type>(1))); }); - auto on_new_row_size = [&](unsigned int start, unsigned int end) + auto on_new_row_size = [&](unsigned int, unsigned int) { //Nothing to do }; diff --git a/arm_compute/core/NEON/kernels/assembly/NEGEMMInterleavedTransformAWrapper.h b/arm_compute/core/NEON/kernels/assembly/NEGEMMInterleavedTransformAWrapper.h index b18d327339..c1fd86e453 100644 --- a/arm_compute/core/NEON/kernels/assembly/NEGEMMInterleavedTransformAWrapper.h +++ b/arm_compute/core/NEON/kernels/assembly/NEGEMMInterleavedTransformAWrapper.h @@ -139,7 +139,7 @@ public: a.stride(1), first_m, last_m, wl._k0, wl._kmax, _transpose_a); } }); - auto on_new_row_size = [&](unsigned int start, unsigned int end) + auto on_new_row_size = [&](unsigned int, unsigned int end) { last_m = std::min(end, _Msize); }; diff --git a/arm_compute/core/NEON/kernels/assembly/gemm_common.hpp b/arm_compute/core/NEON/kernels/assembly/gemm_common.hpp index f59a61703f..1ae503cddb 100644 --- a/arm_compute/core/NEON/kernels/assembly/gemm_common.hpp +++ b/arm_compute/core/NEON/kernels/assembly/gemm_common.hpp @@ -25,6 +25,8 @@ #include <cstddef> +#define UNUSED(x) (void)(x) + namespace arm_gemm { // Abstract class for the GEMM/GEMV functions. @@ -95,7 +97,7 @@ public: /*** "Quantized bias" interface (optional) ***/ /* Set the bias vector for quantized GEMMs */ - virtual void set_quantized_bias(const int32_t *bias) { } + virtual void set_quantized_bias(const int32_t *bias) { UNUSED(bias); } // Destructor virtual ~IGemmCommon() { } |