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/CL/functions/CLCannyEdge.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/CL/functions/CLCannyEdge.cpp')
-rw-r--r-- | src/runtime/CL/functions/CLCannyEdge.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/runtime/CL/functions/CLCannyEdge.cpp b/src/runtime/CL/functions/CLCannyEdge.cpp index 5a32564d2d..7e99a1bbb3 100644 --- a/src/runtime/CL/functions/CLCannyEdge.cpp +++ b/src/runtime/CL/functions/CLCannyEdge.cpp @@ -35,17 +35,16 @@ #include "src/core/CL/kernels/CLFillBorderKernel.h" #include "src/core/CL/kernels/CLSobel5x5Kernel.h" #include "src/core/CL/kernels/CLSobel7x7Kernel.h" -#include "support/MemorySupport.h" using namespace arm_compute; CLCannyEdge::CLCannyEdge(std::shared_ptr<IMemoryManager> memory_manager) // NOLINT : _memory_group(std::move(memory_manager)), _sobel(), - _gradient(support::cpp14::make_unique<CLGradientKernel>()), - _border_mag_gradient(support::cpp14::make_unique<CLFillBorderKernel>()), - _non_max_suppr(support::cpp14::make_unique<CLEdgeNonMaxSuppressionKernel>()), - _edge_trace(support::cpp14::make_unique<CLEdgeTraceKernel>()), + _gradient(std::make_unique<CLGradientKernel>()), + _border_mag_gradient(std::make_unique<CLFillBorderKernel>()), + _non_max_suppr(std::make_unique<CLEdgeNonMaxSuppressionKernel>()), + _edge_trace(std::make_unique<CLEdgeTraceKernel>()), _gx(), _gy(), _mag(), @@ -123,19 +122,19 @@ void CLCannyEdge::configure(const CLCompileContext &compile_context, ICLTensor * // Configure/Init sobelNxN if(gradient_size == 3) { - auto k = arm_compute::support::cpp14::make_unique<CLSobel3x3>(); + auto k = std::make_unique<CLSobel3x3>(); k->configure(compile_context, input, &_gx, &_gy, border_mode, constant_border_value); _sobel = std::move(k); } else if(gradient_size == 5) { - auto k = arm_compute::support::cpp14::make_unique<CLSobel5x5>(); + auto k = std::make_unique<CLSobel5x5>(); k->configure(compile_context, input, &_gx, &_gy, border_mode, constant_border_value); _sobel = std::move(k); } else if(gradient_size == 7) { - auto k = arm_compute::support::cpp14::make_unique<CLSobel7x7>(); + auto k = std::make_unique<CLSobel7x7>(); k->configure(compile_context, input, &_gx, &_gy, border_mode, constant_border_value); _sobel = std::move(k); } |