From 066607f1384f502612869196c97b17ed0fc4caf3 Mon Sep 17 00:00:00 2001 From: Mohammed Suhail Munshi Date: Wed, 19 Jan 2022 12:22:50 +0000 Subject: A73 Devices Regression 300% fix - Currently regresses on A73 devices (tested on android hikey, inceptionv3), this patch solves this - Changed mws for all cores to use default values - Existing mws value for A73 tuned for hikey-linux, caused regression on hikey-android Resolves [COMPMID-5044] Change-Id: Ifd6faaa34a0b405d0c390015566f2c75436dfb07 Signed-off-by: Mohammed Suhail Munshi Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6973 Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins Reviewed-by: SiCong Li --- src/cpu/kernels/CpuIm2ColKernel.cpp | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'src/cpu/kernels/CpuIm2ColKernel.cpp') diff --git a/src/cpu/kernels/CpuIm2ColKernel.cpp b/src/cpu/kernels/CpuIm2ColKernel.cpp index 58890fe5a2..875d66594f 100644 --- a/src/cpu/kernels/CpuIm2ColKernel.cpp +++ b/src/cpu/kernels/CpuIm2ColKernel.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2021 Arm Limited. + * Copyright (c) 2017-2022 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -447,19 +447,9 @@ const char *CpuIm2ColKernel::name() const size_t CpuIm2ColKernel::get_mws(const CPUInfo &platform, size_t thread_count) const { ARM_COMPUTE_UNUSED(thread_count); - // Tuning results that gave optimized results in performance investigation - if (platform.get_cpu_model() == CPUModel::A73 ) - { - return 10240; - } - else if (platform.get_cpu_model() == CPUModel::A76) - { - return 9216; - } - else - { - return ICPPKernel::default_mws; - } + ARM_COMPUTE_UNUSED(platform); + + return ICPPKernel::default_mws; } } // namespace kernels } // namespace cpu -- cgit v1.2.1