aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/gemm
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 /src/core/CL/gemm
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 'src/core/CL/gemm')
-rw-r--r--src/core/CL/gemm/native/CLGEMMNativeKernelConfiguration.h8
-rw-r--r--src/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfiguration.h6
-rw-r--r--src/core/CL/gemm/reshaped_only_rhs/CLGEMMReshapedOnlyRHSKernelConfiguration.h6
3 files changed, 10 insertions, 10 deletions
diff --git a/src/core/CL/gemm/native/CLGEMMNativeKernelConfiguration.h b/src/core/CL/gemm/native/CLGEMMNativeKernelConfiguration.h
index aecf5a8aa8..65396b1d98 100644
--- a/src/core/CL/gemm/native/CLGEMMNativeKernelConfiguration.h
+++ b/src/core/CL/gemm/native/CLGEMMNativeKernelConfiguration.h
@@ -29,7 +29,7 @@
#include "src/core/CL/gemm/native/CLGEMMNativeKernelConfigurationMidgard.h"
#include "src/core/CL/gemm/native/CLGEMMNativeKernelConfigurationValhall.h"
-#include "support/MemorySupport.h"
+#include <memory>
namespace arm_compute
{
@@ -50,11 +50,11 @@ public:
switch(get_arch_from_target(gpu))
{
case GPUTarget::MIDGARD:
- return support::cpp14::make_unique<CLGEMMNativeKernelConfigurationMidgard>(gpu);
+ return std::make_unique<CLGEMMNativeKernelConfigurationMidgard>(gpu);
case GPUTarget::BIFROST:
- return support::cpp14::make_unique<CLGEMMNativeKernelConfigurationBifrost>(gpu);
+ return std::make_unique<CLGEMMNativeKernelConfigurationBifrost>(gpu);
case GPUTarget::VALHALL:
- return support::cpp14::make_unique<CLGEMMNativeKernelConfigurationValhall>(gpu);
+ return std::make_unique<CLGEMMNativeKernelConfigurationValhall>(gpu);
default:
ARM_COMPUTE_ERROR("Not supported GPU target");
}
diff --git a/src/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfiguration.h b/src/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfiguration.h
index 21ccf2d647..2a25dc1893 100644
--- a/src/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfiguration.h
+++ b/src/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfiguration.h
@@ -28,7 +28,7 @@
#include "src/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfigurationBifrost.h"
#include "src/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfigurationValhall.h"
-#include "support/MemorySupport.h"
+#include <memory>
namespace arm_compute
{
@@ -50,9 +50,9 @@ public:
{
case GPUTarget::MIDGARD:
case GPUTarget::BIFROST:
- return support::cpp14::make_unique<CLGEMMReshapedKernelConfigurationBifrost>(gpu);
+ return std::make_unique<CLGEMMReshapedKernelConfigurationBifrost>(gpu);
case GPUTarget::VALHALL:
- return support::cpp14::make_unique<CLGEMMReshapedKernelConfigurationValhall>(gpu);
+ return std::make_unique<CLGEMMReshapedKernelConfigurationValhall>(gpu);
default:
ARM_COMPUTE_ERROR("Not supported GPU target");
}
diff --git a/src/core/CL/gemm/reshaped_only_rhs/CLGEMMReshapedOnlyRHSKernelConfiguration.h b/src/core/CL/gemm/reshaped_only_rhs/CLGEMMReshapedOnlyRHSKernelConfiguration.h
index 4efe28ce69..96c3045119 100644
--- a/src/core/CL/gemm/reshaped_only_rhs/CLGEMMReshapedOnlyRHSKernelConfiguration.h
+++ b/src/core/CL/gemm/reshaped_only_rhs/CLGEMMReshapedOnlyRHSKernelConfiguration.h
@@ -28,7 +28,7 @@
#include "src/core/CL/gemm/reshaped_only_rhs/CLGEMMReshapedOnlyRHSKernelConfigurationBifrost.h"
#include "src/core/CL/gemm/reshaped_only_rhs/CLGEMMReshapedOnlyRHSKernelConfigurationValhall.h"
-#include "support/MemorySupport.h"
+#include <memory>
namespace arm_compute
{
@@ -50,9 +50,9 @@ public:
{
case GPUTarget::MIDGARD:
case GPUTarget::BIFROST:
- return support::cpp14::make_unique<CLGEMMReshapedOnlyRHSKernelConfigurationBifrost>(gpu);
+ return std::make_unique<CLGEMMReshapedOnlyRHSKernelConfigurationBifrost>(gpu);
case GPUTarget::VALHALL:
- return support::cpp14::make_unique<CLGEMMReshapedOnlyRHSKernelConfigurationValhall>(gpu);
+ return std::make_unique<CLGEMMReshapedOnlyRHSKernelConfigurationValhall>(gpu);
default:
ARM_COMPUTE_ERROR("Not supported GPU target");
}