aboutsummaryrefslogtreecommitdiff
path: root/tests/CL/Helper.h
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/CL/Helper.h
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/CL/Helper.h')
-rw-r--r--tests/CL/Helper.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/CL/Helper.h b/tests/CL/Helper.h
index e548af4938..d217af6e18 100644
--- a/tests/CL/Helper.h
+++ b/tests/CL/Helper.h
@@ -33,7 +33,7 @@
#include "src/core/CL/ICLKernel.h"
-#include "support/MemorySupport.h"
+#include <memory>
namespace arm_compute
{
@@ -51,7 +51,7 @@ public:
template <typename... Args>
void configure(Args &&... args)
{
- auto k = arm_compute::support::cpp14::make_unique<K>();
+ auto k = std::make_unique<K>();
k->configure(std::forward<Args>(args)...);
_kernel = std::move(k);
}
@@ -63,7 +63,7 @@ public:
template <typename... Args>
void configure(GPUTarget gpu_target, Args &&... args)
{
- auto k = arm_compute::support::cpp14::make_unique<K>();
+ auto k = std::make_unique<K>();
k->set_target(gpu_target);
k->configure(std::forward<Args>(args)...);
_kernel = std::move(k);
@@ -92,7 +92,7 @@ public:
template <typename T, typename... Args>
void configure(T first, Args &&... args)
{
- auto k = arm_compute::support::cpp14::make_unique<K>();
+ auto k = std::make_unique<K>();
k->configure(first, std::forward<Args>(args)...);
_kernel = std::move(k);
_border_handler->configure(first, BorderSize(bordersize), BorderMode::CONSTANT, PixelValue());
@@ -113,7 +113,7 @@ public:
template <typename T, typename... Args>
void configure(T first, T second, Args &&... args)
{
- auto k = arm_compute::support::cpp14::make_unique<K>();
+ auto k = std::make_unique<K>();
k->set_target(CLScheduler::get().target());
k->configure(first, second, std::forward<Args>(args)...);
_kernel = std::move(k);