aboutsummaryrefslogtreecommitdiff
path: root/tests/AssetsLibrary.h
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2019-10-02 17:22:11 +0100
committerMichalis Spyrou <michalis.spyrou@arm.com>2019-10-08 09:08:50 +0000
commit6bff195a51915fd88c1aa1904cf269dbd1a04f50 (patch)
tree645fc3bb8f6bbe05aeb16385a52a696973da0b73 /tests/AssetsLibrary.h
parent6665f82b38ce904aa588230546d66e65d38f20d6 (diff)
downloadComputeLibrary-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 'tests/AssetsLibrary.h')
-rw-r--r--tests/AssetsLibrary.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/AssetsLibrary.h b/tests/AssetsLibrary.h
index 2ac13468de..a512dab36b 100644
--- a/tests/AssetsLibrary.h
+++ b/tests/AssetsLibrary.h
@@ -32,7 +32,10 @@
#include "arm_compute/core/Types.h"
#include "arm_compute/core/Window.h"
#include "arm_compute/core/utils/misc/Random.h"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-parameter"
#include "libnpy/npy.hpp"
+#pragma GCC diagnostic pop
#include "tests/RawTensor.h"
#include "tests/TensorCache.h"
#include "tests/Utils.h"
@@ -467,7 +470,7 @@ void AssetsLibrary::fill_borders_with_garbage(T &&tensor, D &&distribution, std:
window.set(1, Window::Dimension(-padding_size.top, tensor.shape()[1] + padding_size.bottom, 1));
}
- std::mt19937 gen(_seed);
+ std::mt19937 gen(_seed + seed_offset);
execute_window_loop(window, [&](const Coordinates & id)
{