From 56e8e8627e5c6912a482a68ec4d65051a5ff4ee8 Mon Sep 17 00:00:00 2001 From: Sam Laynton Date: Thu, 5 Apr 2018 13:26:08 +0100 Subject: COMPMID-1031: Use LWS hints for G51, G51BIG, G51LIT, and TNOX Change-Id: Ie07d9225faaef778bdcfdcb56ae42ec95962e48d Signed-off-by: Sam Laynton Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/126735 Reviewed-by: Michalis Spyrou Tested-by: Jenkins --- src/runtime/CL/functions/CLGEMM.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/CL/functions/CLGEMM.cpp') diff --git a/src/runtime/CL/functions/CLGEMM.cpp b/src/runtime/CL/functions/CLGEMM.cpp index 172facfa78..cf41eccc35 100644 --- a/src/runtime/CL/functions/CLGEMM.cpp +++ b/src/runtime/CL/functions/CLGEMM.cpp @@ -44,7 +44,7 @@ inline bool is_interleaved_transposed(int m, int n, int k, DataType data_type, b { bool flag = true; - if(gpu_target_is_in(gpu_target, GPUTarget::G71, GPUTarget::G72)) + if(gpu_target_is_in(gpu_target, GPUTarget::G71, GPUTarget::G72, GPUTarget::G51, GPUTarget::G51BIG, GPUTarget::G51LIT, GPUTarget::TNOX)) { // COMPMID-852 if(k > 256 && m > 4 && data_type == DataType::F32 && reshape_b_only_on_first_run) @@ -126,7 +126,7 @@ void CLGEMM::configure(const ICLTensor *a, const ICLTensor *b, const ICLTensor * int mult_transpose1xW_width = 1; int mult_interleave4x4_height = 1; - if(gpu_target_is_in(gpu_target, GPUTarget::G71, GPUTarget::G72)) + if(gpu_target_is_in(gpu_target, GPUTarget::G71, GPUTarget::G72, GPUTarget::G51, GPUTarget::G51BIG, GPUTarget::G51LIT, GPUTarget::TNOX)) { mult_transpose1xW_width = 4; mult_interleave4x4_height = 2; -- cgit v1.2.1