diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-11-21 03:04:18 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-12-01 10:41:54 +0000 |
commit | 40f51a63c8e7258db15269427ae4fe1ad199c550 (patch) | |
tree | 353253a41863966995a45556731e7181a643c003 /src/runtime/NEON/functions/NEAccumulate.cpp | |
parent | 327800401c4185d98fcc01b9c9efbc038a4228ed (diff) | |
download | ComputeLibrary-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 'src/runtime/NEON/functions/NEAccumulate.cpp')
-rw-r--r-- | src/runtime/NEON/functions/NEAccumulate.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/runtime/NEON/functions/NEAccumulate.cpp b/src/runtime/NEON/functions/NEAccumulate.cpp index 20eefd9d2d..b81ec24a39 100644 --- a/src/runtime/NEON/functions/NEAccumulate.cpp +++ b/src/runtime/NEON/functions/NEAccumulate.cpp @@ -24,7 +24,6 @@ #include "arm_compute/runtime/NEON/functions/NEAccumulate.h" #include "src/core/NEON/kernels/NEAccumulateKernel.h" -#include "support/MemorySupport.h" #include <utility> @@ -34,7 +33,7 @@ NEAccumulate::~NEAccumulate() = default; void NEAccumulate::configure(const ITensor *input, ITensor *output) { - auto k = arm_compute::support::cpp14::make_unique<NEAccumulateKernel>(); + auto k = std::make_unique<NEAccumulateKernel>(); k->configure(input, output); _kernel = std::move(k); } @@ -45,13 +44,13 @@ void NEAccumulateWeighted::configure(const ITensor *input, float alpha, ITensor { if(use_fp16) { - auto k = arm_compute::support::cpp14::make_unique<NEAccumulateWeightedFP16Kernel>(); + auto k = std::make_unique<NEAccumulateWeightedFP16Kernel>(); k->configure(input, alpha, output); _kernel = std::move(k); } else { - auto k = arm_compute::support::cpp14::make_unique<NEAccumulateWeightedKernel>(); + auto k = std::make_unique<NEAccumulateWeightedKernel>(); k->configure(input, alpha, output); _kernel = std::move(k); } @@ -61,7 +60,7 @@ NEAccumulateSquared::~NEAccumulateSquared() = default; void NEAccumulateSquared::configure(const ITensor *input, uint32_t shift, ITensor *output) { - auto k = arm_compute::support::cpp14::make_unique<NEAccumulateSquaredKernel>(); + auto k = std::make_unique<NEAccumulateSquaredKernel>(); k->configure(input, shift, output); _kernel = std::move(k); } |