aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL/kernels/CLCannyEdgeKernel.h
diff options
context:
space:
mode:
authorManuel Bottini <manuel.bottini@arm.com>2020-04-21 13:29:30 +0100
committerManuel Bottini <manuel.bottini@arm.com>2020-04-22 08:57:15 +0000
commit256c0b9d5d66d35d52c7eee3599a4d91e7887ec8 (patch)
tree6bb2bd6648ed3a7292d63c731a679bb7cb2cf3d3 /arm_compute/core/CL/kernels/CLCannyEdgeKernel.h
parent7ba240bb54bdbd50f1809f944dde2fac7005cc10 (diff)
downloadComputeLibrary-256c0b9d5d66d35d52c7eee3599a4d91e7887ec8.tar.gz
COMPMID-3280: Make all ML primitives for CL use the new interface - Part1 - Fix1
- const fix in the CLKernels part 1 Change-Id: I17340cb6ff26afd52b14b46645efedbe07aef1b6 Signed-off-by: Manuel Bottini <manuel.bottini@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3067 Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/CL/kernels/CLCannyEdgeKernel.h')
-rw-r--r--arm_compute/core/CL/kernels/CLCannyEdgeKernel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arm_compute/core/CL/kernels/CLCannyEdgeKernel.h b/arm_compute/core/CL/kernels/CLCannyEdgeKernel.h
index 67c23dd811..40ad4dcd84 100644
--- a/arm_compute/core/CL/kernels/CLCannyEdgeKernel.h
+++ b/arm_compute/core/CL/kernels/CLCannyEdgeKernel.h
@@ -65,7 +65,7 @@ public:
* @param[out] phase Destination tensor - Quantized phase. Data types supported: U8.
* @param[in] norm_type Normalization type. if 1, L1-Norm otherwise L2-Norm.
*/
- void configure(CLCompileContext &compile_context, const ICLTensor *gx, const ICLTensor *gy, ICLTensor *magnitude, ICLTensor *phase, int32_t norm_type);
+ void configure(const CLCompileContext &compile_context, const ICLTensor *gx, const ICLTensor *gy, ICLTensor *magnitude, ICLTensor *phase, int32_t norm_type);
// Inherited methods overridden:
void run(const Window &window, cl::CommandQueue &queue) override;
@@ -111,7 +111,7 @@ public:
* @param[in] lower_thr Lower threshold.
* @param[in] border_undefined True if the border mode is undefined. False if it's replicate or constant.
*/
- void configure(CLCompileContext &compile_context, const ICLTensor *magnitude, const ICLTensor *phase, ICLTensor *output, int32_t lower_thr, bool border_undefined);
+ void configure(const CLCompileContext &compile_context, const ICLTensor *magnitude, const ICLTensor *phase, ICLTensor *output, int32_t lower_thr, bool border_undefined);
// Inherited methods overridden:
void run(const Window &window, cl::CommandQueue &queue) override;
@@ -167,7 +167,7 @@ public:
* @param[in,out] l1_stack_counter Tensor for counting the elements in the L1 stack of each pixel. Data types supported: U8.
* Expected to be initialized to 0 before each run.
*/
- void configure(CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output, int32_t upper_thr, int32_t lower_thr,
+ void configure(const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output, int32_t upper_thr, int32_t lower_thr,
ICLTensor *visited, ICLTensor *recorded, ICLTensor *l1_stack, ICLTensor *l1_stack_counter);
// Inherited methods overridden: