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/CLFuseBatchNormalizationKernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/CL/kernels/CLFuseBatchNormalizationKernel.cpp') diff --git a/src/core/CL/kernels/CLFuseBatchNormalizationKernel.cpp b/src/core/CL/kernels/CLFuseBatchNormalizationKernel.cpp index bf827bf2c2..423e583059 100644 --- a/src/core/CL/kernels/CLFuseBatchNormalizationKernel.cpp +++ b/src/core/CL/kernels/CLFuseBatchNormalizationKernel.cpp @@ -209,6 +209,6 @@ void CLFuseBatchNormalizationKernel::run(const arm_compute::Window &window, cl:: { add_1D_tensor_argument(idx, _bn_gamma, slice_1d); } - enqueue(queue, *this, slice_3d); + enqueue(queue, *this, slice_3d, lws_hint()); } } // namespace arm_compute -- cgit v1.2.1