From 275f99cb09606191c5589952d57175be655de74a Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 23 Aug 2019 12:44:11 +0100 Subject: COMPMID-2451: Use kernel lws_hint() on enqueue Avoid querying device's default lws on kernel enqueue as this is already cached in the kernel during configuration. Change-Id: Ia26ecb712caeb8f042356815e0cfd23522764d27 Signed-off-by: Georgios Pinitas Reviewed-on: https://review.mlplatform.org/c/1803 Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- src/core/CL/kernels/CLWeightsReshapeKernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/CL/kernels/CLWeightsReshapeKernel.cpp') diff --git a/src/core/CL/kernels/CLWeightsReshapeKernel.cpp b/src/core/CL/kernels/CLWeightsReshapeKernel.cpp index 590af4d184..9330b3b8a1 100644 --- a/src/core/CL/kernels/CLWeightsReshapeKernel.cpp +++ b/src/core/CL/kernels/CLWeightsReshapeKernel.cpp @@ -156,7 +156,7 @@ void CLWeightsReshapeKernel::run(const Window &window, cl::CommandQueue &queue) } // Run kernel - enqueue(queue, *this, in_slice); + enqueue(queue, *this, in_slice, lws_hint()); } while(window.slide_window_slice_4D(in_slice) && out_window.slide_window_slice_2D(out_slice)); } -- cgit v1.2.1