aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels/CLSobel7x7Kernel.cpp
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2019-07-01 16:37:04 +0100
committerMichele Di Giorgio <michele.digiorgio@arm.com>2019-07-03 10:06:30 +0000
commit6b9f388f719dc9ff1181c9a43a41140f19e15ec8 (patch)
treef05144986e122cbb22e665d54f1cf425ca2b1b0a /src/core/CL/kernels/CLSobel7x7Kernel.cpp
parent4646d2e026a0fa92085fcba2f4aec5ec148956aa (diff)
downloadComputeLibrary-6b9f388f719dc9ff1181c9a43a41140f19e15ec8.tar.gz
COMPMID-2336: Fix enable tuning of kernels targeted in COMPUTE-10611
Commit fffbdbcc52 added config_id to some CL kernels but did not provide lws_hint() to the enqueue method. Change-Id: I27ba5f39e76e22441c5a3deb3e80d4756189b109 Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com> Reviewed-on: https://review.mlplatform.org/c/1457 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Pablo Marquez <pablo.tello@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/CL/kernels/CLSobel7x7Kernel.cpp')
-rw-r--r--src/core/CL/kernels/CLSobel7x7Kernel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/CL/kernels/CLSobel7x7Kernel.cpp b/src/core/CL/kernels/CLSobel7x7Kernel.cpp
index cd221fc4aa..8c0b6a239f 100644
--- a/src/core/CL/kernels/CLSobel7x7Kernel.cpp
+++ b/src/core/CL/kernels/CLSobel7x7Kernel.cpp
@@ -140,7 +140,7 @@ void CLSobel7x7HorKernel::run(const Window &window, cl::CommandQueue &queue)
add_2D_tensor_argument(idx, _output_y, slice);
}
- enqueue(queue, *this, slice);
+ enqueue(queue, *this, slice, lws_hint());
}
while(window.slide_window_slice_2D(slice));
}
@@ -255,7 +255,7 @@ void CLSobel7x7VertKernel::run(const Window &window, cl::CommandQueue &queue)
_kernel.setArg(idx++, 0 /*dummy*/);
- enqueue(queue, *this, slice);
+ enqueue(queue, *this, slice, lws_hint());
}
while(window.slide_window_slice_2D(slice));
}