diff options
Diffstat (limited to 'src/core/CL/gemm')
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"); } |