diff options
author | ramelg01 <ramy.elgammal@arm.com> | 2022-05-05 13:12:42 +0100 |
---|---|---|
committer | Ramy Elgammal <ramy.elgammal@arm.com> | 2022-05-06 13:54:39 +0000 |
commit | 9d187387ebc00f9b34f8071e647cab1025a4ba7a (patch) | |
tree | 9d0afb81a271413d13c416b385894a956502bae7 /src/core/NEON/kernels/arm_gemm/kernels | |
parent | 58733588ca5d64d3d4e920617e9ea83005b43307 (diff) | |
download | ComputeLibrary-9d187387ebc00f9b34f8071e647cab1025a4ba7a.tar.gz |
Updating a64_gemm_u8 a64_gemm_s8 kernels headers
Resolves: COMPMID-5272
Signed-off-by: ramy.elgammal@arm.com
Change-Id: I185182430ca952e5bb661e0a47163965b3565a49
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7517
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Sheri Zhang <sheri.zhang@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/NEON/kernels/arm_gemm/kernels')
-rw-r--r-- | src/core/NEON/kernels/arm_gemm/kernels/a64_gemm_s8_4x4.hpp | 9 | ||||
-rw-r--r-- | src/core/NEON/kernels/arm_gemm/kernels/a64_gemm_u8_4x4.hpp | 9 |
2 files changed, 14 insertions, 4 deletions
diff --git a/src/core/NEON/kernels/arm_gemm/kernels/a64_gemm_s8_4x4.hpp b/src/core/NEON/kernels/arm_gemm/kernels/a64_gemm_s8_4x4.hpp index b7af7110ab..1363b939ab 100644 --- a/src/core/NEON/kernels/arm_gemm/kernels/a64_gemm_s8_4x4.hpp +++ b/src/core/NEON/kernels/arm_gemm/kernels/a64_gemm_s8_4x4.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2021 Arm Limited. + * Copyright (c) 2017-2022 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -63,9 +63,11 @@ public: static PerformanceParameters get_performance_parameters(const CPUInfo *ci) { if (std::is_same<T, int32_t>::value) { switch (ci->get_cpu_model()) { + case CPUModel::A55r0: + case CPUModel::A55r1: + return { 3.12, 2.93, 1.84 }; case CPUModel::A510: return { 3.32, 2.56, 2.63 }; - default: return { 7.97, 3.72, 7.31 }; } @@ -73,6 +75,9 @@ public: if (std::is_same<T, int8_t>::value) { switch(ci->get_cpu_model()) { + case CPUModel::A55r0: + case CPUModel::A55r1: + return { 3.12, 2.18, 0.09 }; case CPUModel::A510: return { 3.33, 2.89, 0.09 }; default: diff --git a/src/core/NEON/kernels/arm_gemm/kernels/a64_gemm_u8_4x4.hpp b/src/core/NEON/kernels/arm_gemm/kernels/a64_gemm_u8_4x4.hpp index 45ba8dc423..b747a1cf84 100644 --- a/src/core/NEON/kernels/arm_gemm/kernels/a64_gemm_u8_4x4.hpp +++ b/src/core/NEON/kernels/arm_gemm/kernels/a64_gemm_u8_4x4.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2021 Arm Limited. + * Copyright (c) 2017-2022 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -71,9 +71,11 @@ public: static PerformanceParameters get_performance_parameters(const CPUInfo *ci) { if (std::is_same<T, uint32_t>::value) { switch (ci->get_cpu_model()) { + case CPUModel::A55r0: + case CPUModel::A55r1: + return { 2.25, 2.92, 1.84 }; case CPUModel::A510: return { 2.64, 2.72, 2.64 }; - default: return { 7.95, 3.76, 7.27 }; } @@ -81,6 +83,9 @@ public: if (std::is_same<T, uint8_t>::value) { switch(ci->get_cpu_model()) { + case CPUModel::A55r0: + case CPUModel::A55r1: + return { 2.25, 2.18, 0.09 }; case CPUModel::A510: return { 2.64, 1.79, 0.10 }; default: |