aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/runtime')
-rw-r--r--arm_compute/runtime/Array.h3
-rw-r--r--arm_compute/runtime/CL/tuners/CLLWSList.h8
-rw-r--r--arm_compute/runtime/CL/tuners/Tuners.h6
-rw-r--r--arm_compute/runtime/MemoryRegion.h5
-rw-r--r--arm_compute/runtime/NEON/functions/NEQLSTMLayer.h3
5 files changed, 10 insertions, 15 deletions
diff --git a/arm_compute/runtime/Array.h b/arm_compute/runtime/Array.h
index 817d97a64d..5b98b6c2bc 100644
--- a/arm_compute/runtime/Array.h
+++ b/arm_compute/runtime/Array.h
@@ -26,7 +26,6 @@
#include "arm_compute/core/IArray.h"
#include "arm_compute/core/Types.h"
-#include "support/MemorySupport.h"
#include <memory>
@@ -47,7 +46,7 @@ public:
* @param[in] max_num_values Maximum number of values the array will be able to stored
*/
Array(size_t max_num_values)
- : IArray<T>(max_num_values), _values(arm_compute::support::cpp14::make_unique<T[]>(max_num_values))
+ : IArray<T>(max_num_values), _values(std::make_unique<T[]>(max_num_values))
{
}
diff --git a/arm_compute/runtime/CL/tuners/CLLWSList.h b/arm_compute/runtime/CL/tuners/CLLWSList.h
index 48f3f3f7c9..fe63754dd0 100644
--- a/arm_compute/runtime/CL/tuners/CLLWSList.h
+++ b/arm_compute/runtime/CL/tuners/CLLWSList.h
@@ -30,7 +30,7 @@
#include "arm_compute/runtime/CL/CLTunerTypes.h"
#include "support/ToolchainSupport.h"
-#include "support/MemorySupport.h"
+#include <memory>
namespace arm_compute
{
@@ -199,11 +199,11 @@ public:
switch(mode)
{
case CLTunerMode::EXHAUSTIVE:
- return arm_compute::support::cpp14::make_unique<CLLWSListExhaustive>(gws);
+ return std::make_unique<CLLWSListExhaustive>(gws);
case CLTunerMode::NORMAL:
- return arm_compute::support::cpp14::make_unique<CLLWSListNormal>(gws);
+ return std::make_unique<CLLWSListNormal>(gws);
case CLTunerMode::RAPID:
- return arm_compute::support::cpp14::make_unique<CLLWSListRapid>(gws);
+ return std::make_unique<CLLWSListRapid>(gws);
default:
return nullptr;
}
diff --git a/arm_compute/runtime/CL/tuners/Tuners.h b/arm_compute/runtime/CL/tuners/Tuners.h
index dd1c62a252..3ba9e0071d 100644
--- a/arm_compute/runtime/CL/tuners/Tuners.h
+++ b/arm_compute/runtime/CL/tuners/Tuners.h
@@ -27,8 +27,6 @@
#include "arm_compute/runtime/CL/tuners/BifrostTuner.h"
#include "arm_compute/runtime/CL/tuners/MidgardTuner.h"
-#include "support/MemorySupport.h"
-
#include <memory>
namespace arm_compute
@@ -45,9 +43,9 @@ public:
switch(arch)
{
case GPUTarget::BIFROST:
- return support::cpp14::make_unique<BifrostTuner>();
+ return std::make_unique<BifrostTuner>();
case GPUTarget::MIDGARD:
- return support::cpp14::make_unique<MidgardTuner>();
+ return std::make_unique<MidgardTuner>();
default:
return nullptr;
}
diff --git a/arm_compute/runtime/MemoryRegion.h b/arm_compute/runtime/MemoryRegion.h
index 63feabd281..6408deceaa 100644
--- a/arm_compute/runtime/MemoryRegion.h
+++ b/arm_compute/runtime/MemoryRegion.h
@@ -27,7 +27,6 @@
#include "arm_compute/runtime/IMemoryRegion.h"
#include "arm_compute/core/Error.h"
-#include "support/MemorySupport.h"
#include <cstddef>
@@ -59,7 +58,7 @@ public:
if(alignment != 0)
{
void *aligned_ptr = _mem.get();
- support::cpp11::align(alignment, size, aligned_ptr, space);
+ std::align(alignment, size, aligned_ptr, space);
_ptr = aligned_ptr;
}
}
@@ -94,7 +93,7 @@ public:
{
if(_ptr != nullptr && (offset < _size) && (_size - offset >= size))
{
- return support::cpp14::make_unique<MemoryRegion>(static_cast<uint8_t *>(_ptr) + offset, size);
+ return std::make_unique<MemoryRegion>(static_cast<uint8_t *>(_ptr) + offset, size);
}
else
{
diff --git a/arm_compute/runtime/NEON/functions/NEQLSTMLayer.h b/arm_compute/runtime/NEON/functions/NEQLSTMLayer.h
index fcabc1d0c4..e0054bceff 100644
--- a/arm_compute/runtime/NEON/functions/NEQLSTMLayer.h
+++ b/arm_compute/runtime/NEON/functions/NEQLSTMLayer.h
@@ -33,9 +33,8 @@
#include "arm_compute/runtime/NEON/functions/NEGEMMLowpOutputStage.h"
#include "arm_compute/runtime/NEON/functions/NEPixelWiseMultiplication.h"
#include "arm_compute/runtime/NEON/functions/NETranspose.h"
-#include "support/MemorySupport.h"
-
#include "arm_compute/runtime/common/LSTMParams.h"
+
#include <memory>
namespace arm_compute