From 40f51a63c8e7258db15269427ae4fe1ad199c550 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Sat, 21 Nov 2020 03:04:18 +0000 Subject: Update default C++ standard to C++14 (3RDPARTY_UPDATE) Resolves: COMPMID-3849 Signed-off-by: Georgios Pinitas Change-Id: I6369f112337310140e2d6c8e79630cd11138dfa0 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4544 Tested-by: Arm Jenkins Reviewed-by: Michalis Spyrou Comments-Addressed: Arm Jenkins --- .../NEDepthwiseConvolutionAssemblyDispatch.cpp | 36 ++++++++++------------ 1 file changed, 17 insertions(+), 19 deletions(-) (limited to 'src/runtime/NEON/functions/assembly') diff --git a/src/runtime/NEON/functions/assembly/NEDepthwiseConvolutionAssemblyDispatch.cpp b/src/runtime/NEON/functions/assembly/NEDepthwiseConvolutionAssemblyDispatch.cpp index 11e89cb23b..101df98b7d 100644 --- a/src/runtime/NEON/functions/assembly/NEDepthwiseConvolutionAssemblyDispatch.cpp +++ b/src/runtime/NEON/functions/assembly/NEDepthwiseConvolutionAssemblyDispatch.cpp @@ -37,8 +37,6 @@ #include "arm_compute/runtime/NEON/NEScheduler.h" -#include "support/MemorySupport.h" - #include namespace arm_compute @@ -59,10 +57,10 @@ std::unique_ptr get_qasymm8_convolver(int kern switch(stride_x) { case 1: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, dilation_factor, activation, wqinfo, iqinfo, oqinfo, rescale_params, padding_top, padding_left, padding_bottom, padding_right); case 2: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, dilation_factor, activation, wqinfo, iqinfo, oqinfo, rescale_params, padding_top, padding_left, padding_bottom, padding_right); default: return nullptr; @@ -73,10 +71,10 @@ std::unique_ptr get_qasymm8_convolver(int kern switch(stride_x) { case 1: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, dilation_factor, activation, wqinfo, iqinfo, oqinfo, rescale_params, padding_top, padding_left, padding_bottom, padding_right); case 2: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, dilation_factor, activation, wqinfo, iqinfo, oqinfo, rescale_params, padding_top, padding_left, padding_bottom, padding_right); default: return nullptr; @@ -101,10 +99,10 @@ std::unique_ptr get_qsymm8_perchannel_convolve switch(stride_x) { case 1: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, activation, wqinfo, iqinfo, oqinfo, rescale_params, padding_top, padding_left, padding_bottom, padding_right); case 2: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, activation, wqinfo, iqinfo, oqinfo, rescale_params, padding_top, padding_left, padding_bottom, padding_right); default: return nullptr; @@ -115,10 +113,10 @@ std::unique_ptr get_qsymm8_perchannel_convolve switch(stride_x) { case 1: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, activation, wqinfo, iqinfo, oqinfo, rescale_params, padding_top, padding_left, padding_bottom, padding_right); case 2: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, activation, wqinfo, iqinfo, oqinfo, rescale_params, padding_top, padding_left, padding_bottom, padding_right); default: return nullptr; @@ -142,10 +140,10 @@ std::unique_ptr get_fp16_convolver(int kernel_ switch(stride_x) { case 1: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, dilation_factor, activation, padding_top, padding_left, padding_bottom, padding_right); case 2: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, dilation_factor, activation, padding_top, padding_left, padding_bottom, padding_right); default: return nullptr; @@ -156,10 +154,10 @@ std::unique_ptr get_fp16_convolver(int kernel_ switch(stride_x) { case 1: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, dilation_factor, activation, padding_top, padding_left, padding_bottom, padding_right); case 2: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, dilation_factor, activation, padding_top, padding_left, padding_bottom, padding_right); default: return nullptr; @@ -183,10 +181,10 @@ std::unique_ptr get_fp32_convolver(int kernel_ switch(stride_x) { case 1: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, dilation_factor, activation, padding_top, padding_left, padding_bottom, padding_right); case 2: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, dilation_factor, activation, padding_top, padding_left, padding_bottom, padding_right); default: return nullptr; @@ -197,10 +195,10 @@ std::unique_ptr get_fp32_convolver(int kernel_ switch(stride_x) { case 1: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, dilation_factor, activation, padding_top, padding_left, padding_bottom, padding_right); case 2: - return arm_compute::support::cpp14::make_unique>( + return std::make_unique>( n_batches, in_rows, in_cols, n_channels, dilation_factor, activation, padding_top, padding_left, padding_bottom, padding_right); default: return nullptr; @@ -339,7 +337,7 @@ struct NEDepthwiseConvolutionAssemblyDispatch::LocalImpl #ifndef DOXYGEN_SKIP_THIS NEDepthwiseConvolutionAssemblyDispatch::NEDepthwiseConvolutionAssemblyDispatch(std::shared_ptr memory_manager) : _memory_group(std::move(memory_manager)), _input(nullptr), _weights(nullptr), _bias(nullptr), _output(nullptr), _packed_weights(), _workspace(), _is_prepared(false), - _pImpl(support::cpp14::make_unique()) + _pImpl(std::make_unique()) { } #endif /* DOXYGEN_SKIP_THIS */ -- cgit v1.2.1