aboutsummaryrefslogtreecommitdiff
path: root/tests/validate_examples
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2020-11-21 03:04:18 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2020-12-01 10:41:54 +0000
commit40f51a63c8e7258db15269427ae4fe1ad199c550 (patch)
tree353253a41863966995a45556731e7181a643c003 /tests/validate_examples
parent327800401c4185d98fcc01b9c9efbc038a4228ed (diff)
downloadComputeLibrary-40f51a63c8e7258db15269427ae4fe1ad199c550.tar.gz
Update default C++ standard to C++14
(3RDPARTY_UPDATE) Resolves: COMPMID-3849 Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Change-Id: I6369f112337310140e2d6c8e79630cd11138dfa0 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4544 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validate_examples')
-rw-r--r--tests/validate_examples/RunExample.cpp6
-rw-r--r--tests/validate_examples/graph_validate_utils.h10
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/validate_examples/RunExample.cpp b/tests/validate_examples/RunExample.cpp
index aca4ddcc7c..736d4816f5 100644
--- a/tests/validate_examples/RunExample.cpp
+++ b/tests/validate_examples/RunExample.cpp
@@ -27,8 +27,8 @@
#include "utils/Utils.cpp"
#include "ValidateExample.h"
-#include "arm_compute/runtime/Scheduler.h"
#include "arm_compute/runtime/CL/CLHelpers.h"
+#include "arm_compute/runtime/Scheduler.h"
#include "tests/AssetsLibrary.h"
#include "tests/Globals.h"
#include "tests/framework/Framework.h"
@@ -139,8 +139,8 @@ int run_example(int argc, char **argv, std::unique_ptr<ValidateExample> example)
g_example_argv.emplace_back(const_cast<char *>(arg.c_str())); // NOLINT
}
- library = support::cpp14::make_unique<AssetsLibrary>("." /* Only using random values */, seed->value());
- fixed_library = support::cpp14::make_unique<AssetsLibrary>(".", fixed_seed);
+ library = std::make_unique<AssetsLibrary>("." /* Only using random values */, seed->value());
+ fixed_library = std::make_unique<AssetsLibrary>(".", fixed_seed);
if(options.log_level->value() > framework::LogLevel::NONE)
{
diff --git a/tests/validate_examples/graph_validate_utils.h b/tests/validate_examples/graph_validate_utils.h
index 36134a4cea..f6f47cc2c3 100644
--- a/tests/validate_examples/graph_validate_utils.h
+++ b/tests/validate_examples/graph_validate_utils.h
@@ -337,11 +337,11 @@ inline std::unique_ptr<graph::ITensorAccessor> get_accessor(const TensorParams &
{
if(!tensor.npy.empty())
{
- return arm_compute::support::cpp14::make_unique<arm_compute::graph_utils::NumPyBinLoader>(tensor.npy);
+ return std::make_unique<arm_compute::graph_utils::NumPyBinLoader>(tensor.npy);
}
else
{
- return arm_compute::support::cpp14::make_unique<arm_compute::graph_utils::RandomAccessor>(lower, upper, seed);
+ return std::make_unique<arm_compute::graph_utils::RandomAccessor>(lower, upper, seed);
}
}
@@ -607,17 +607,17 @@ inline std::unique_ptr<graph::ITensorAccessor> get_verify_accessor(ExampleParams
{
case DataType::QASYMM8:
{
- return arm_compute::support::cpp14::make_unique<VerifyAccessorT<uint8_t>>(
+ return std::make_unique<VerifyAccessorT<uint8_t>>(
params);
}
case DataType::F16:
{
- return arm_compute::support::cpp14::make_unique<VerifyAccessorT<half>>(
+ return std::make_unique<VerifyAccessorT<half>>(
params);
}
case DataType::F32:
{
- return arm_compute::support::cpp14::make_unique<VerifyAccessorT<float>>(
+ return std::make_unique<VerifyAccessorT<float>>(
params);
}
default: