aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels/CLHOGDescriptorKernel.cpp
diff options
context:
space:
mode:
authorManuel Bottini <manuel.bottini@arm.com>2020-04-21 16:08:53 +0100
committerManuel Bottini <manuel.bottini@arm.com>2020-04-22 14:10:42 +0000
commit679fc96d8c1f8ce2a880f94a9b592f94bc472241 (patch)
tree8e7a61b072a5bb69fa809c9642bc463761cc1653 /src/core/CL/kernels/CLHOGDescriptorKernel.cpp
parent9230e2789e421021804bc3a65cf47df4749b0765 (diff)
downloadComputeLibrary-679fc96d8c1f8ce2a880f94a9b592f94bc472241.tar.gz
COMPMID-3280: Make all ML primitives for CL use the new interface - Part1 - Fix2
- const fix in the CLKernels part 2 Change-Id: Ia12845e291b4137cbaf76eb8438e381c4fd0368a Signed-off-by: Manuel Bottini <manuel.bottini@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3071 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 'src/core/CL/kernels/CLHOGDescriptorKernel.cpp')
-rw-r--r--src/core/CL/kernels/CLHOGDescriptorKernel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/CL/kernels/CLHOGDescriptorKernel.cpp b/src/core/CL/kernels/CLHOGDescriptorKernel.cpp
index f79388e93d..e58b62e9de 100644
--- a/src/core/CL/kernels/CLHOGDescriptorKernel.cpp
+++ b/src/core/CL/kernels/CLHOGDescriptorKernel.cpp
@@ -51,7 +51,7 @@ void CLHOGOrientationBinningKernel::configure(const ICLTensor *input_magnitude,
configure(CLKernelLibrary::get().get_compile_context(), input_magnitude, input_phase, output, hog_info);
}
-void CLHOGOrientationBinningKernel::configure(CLCompileContext &compile_context, const ICLTensor *input_magnitude, const ICLTensor *input_phase, ICLTensor *output, const HOGInfo *hog_info)
+void CLHOGOrientationBinningKernel::configure(const CLCompileContext &compile_context, const ICLTensor *input_magnitude, const ICLTensor *input_phase, ICLTensor *output, const HOGInfo *hog_info)
{
ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(input_magnitude, 1, DataType::S16);
ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(input_phase, 1, DataType::U8);
@@ -147,7 +147,7 @@ void CLHOGBlockNormalizationKernel::configure(const ICLTensor *input, ICLTensor
configure(CLKernelLibrary::get().get_compile_context(), input, output, hog_info);
}
-void CLHOGBlockNormalizationKernel::configure(CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output, const HOGInfo *hog_info)
+void CLHOGBlockNormalizationKernel::configure(const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output, const HOGInfo *hog_info)
{
ARM_COMPUTE_ERROR_ON(hog_info == nullptr);
ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(input, hog_info->num_bins(), DataType::F32);