From f0827c4f26fac9b0f8b2f053645d8ab9276807d9 Mon Sep 17 00:00:00 2001 From: Gian Marco Iodice Date: Mon, 23 Nov 2020 16:10:27 +0000 Subject: COMPMID-4018: Fix heuristic fallback for CLGEMMReshapedRHSOnly for Mali-G52 - Missing fallback in case of export to cl_image Change-Id: I5bb3013fd1350628f16e4709c4bb31999fece22d Signed-off-by: Gian Marco Iodice Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4531 Reviewed-by: Pablo Marquez Tello Reviewed-by: Michele Di Giorgio Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins (cherry picked from commit 8919a1a849e425aefcd09c5db5f6f9f2e403d4e9) Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4170 Reviewed-by: Georgios Pinitas --- .../CL/gemm/reshaped/CLGEMMReshapedKernelConfigurationBifrost.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfigurationBifrost.cpp') diff --git a/src/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfigurationBifrost.cpp b/src/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfigurationBifrost.cpp index 59a2a82edf..46eeff3524 100644 --- a/src/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfigurationBifrost.cpp +++ b/src/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfigurationBifrost.cpp @@ -269,13 +269,13 @@ std::pair CLGEMMReshapedKernelConfiguratio const float workload = (static_cast(m) * static_cast(n) * static_cast(b)) / 20.0f; - if(workload <= 232.8000f) + if(workload <= 323.4000f) { - return configure_lhs_rhs_info(m, n, 2, 4, 4, 4, 4, true, true, true, false, false); + return configure_lhs_rhs_info(m, n, 2, 2, 8, 4, 8, false, false, false, true, false); } else { - return configure_lhs_rhs_info(m, n, 4, 4, 4, 4, 4, true, true, true, false, false); + return configure_lhs_rhs_info(m, n, 4, 8, 4, 2, 2, true, true, true, false, false); } } -- cgit v1.2.1