aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels/CLCannyEdgeKernel.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/CLCannyEdgeKernel.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/CLCannyEdgeKernel.cpp')
-rw-r--r--src/core/CL/kernels/CLCannyEdgeKernel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/CL/kernels/CLCannyEdgeKernel.cpp b/src/core/CL/kernels/CLCannyEdgeKernel.cpp
index 6e290ac148..b7b1dfcef6 100644
--- a/src/core/CL/kernels/CLCannyEdgeKernel.cpp
+++ b/src/core/CL/kernels/CLCannyEdgeKernel.cpp
@@ -102,7 +102,7 @@ void CLGradientKernel::run(const Window &window, cl::CommandQueue &queue)
add_2D_tensor_argument(idx, _gy, slice);
add_2D_tensor_argument(idx, _magnitude, slice);
add_2D_tensor_argument(idx, _phase, slice);
- enqueue(queue, *this, slice);
+ enqueue(queue, *this, slice, lws_hint());
}
while(window.slide_window_slice_2D(slice));
}
@@ -181,7 +181,7 @@ void CLEdgeNonMaxSuppressionKernel::run(const Window &window, cl::CommandQueue &
add_2D_tensor_argument(idx, _magnitude, slice);
add_2D_tensor_argument(idx, _phase, slice);
add_2D_tensor_argument(idx, _output, slice);
- enqueue(queue, *this, slice);
+ enqueue(queue, *this, slice, lws_hint());
}
while(window.slide_window_slice_2D(slice));
}
@@ -286,7 +286,7 @@ void CLEdgeTraceKernel::run(const Window &window, cl::CommandQueue &queue)
add_2D_tensor_argument(idx, _l1_stack, slice);
add_2D_tensor_argument(idx, _l1_stack_counter, slice);
- enqueue(queue, *this, slice);
+ enqueue(queue, *this, slice, lws_hint());
}
while(window.slide_window_slice_2D(slice));
}