From c186b574e52b81c75e551cee46a6c4cc7d500c90 Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Thu, 7 Sep 2017 09:48:04 +0100 Subject: COMPMID-481: Add thread info parameter Change-Id: Iebb50a88d017445b6b37a86563ebd4abd86c5cf5 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/86788 Tested-by: Kaizen Reviewed-by: Anthony Barbier --- src/core/CPP/kernels/CPPCornerCandidatesKernel.cpp | 3 ++- src/core/CPP/kernels/CPPDetectionWindowNonMaximaSuppressionKernel.cpp | 3 ++- src/core/CPP/kernels/CPPSortEuclideanDistanceKernel.cpp | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src/core/CPP/kernels') diff --git a/src/core/CPP/kernels/CPPCornerCandidatesKernel.cpp b/src/core/CPP/kernels/CPPCornerCandidatesKernel.cpp index c7ac753672..418d349830 100644 --- a/src/core/CPP/kernels/CPPCornerCandidatesKernel.cpp +++ b/src/core/CPP/kernels/CPPCornerCandidatesKernel.cpp @@ -93,8 +93,9 @@ void CPPCornerCandidatesKernel::configure(const IImage *input, InternalKeypoint INEKernel::configure(win); } -void CPPCornerCandidatesKernel::run(const Window &window) +void CPPCornerCandidatesKernel::run(const Window &window, const ThreadInfo &info) { + ARM_COMPUTE_UNUSED(info); ARM_COMPUTE_ERROR_ON_UNCONFIGURED_KERNEL(this); ARM_COMPUTE_ERROR_ON_INVALID_SUBWINDOW(INEKernel::window(), window); Iterator input(_input, window); diff --git a/src/core/CPP/kernels/CPPDetectionWindowNonMaximaSuppressionKernel.cpp b/src/core/CPP/kernels/CPPDetectionWindowNonMaximaSuppressionKernel.cpp index 62bfdd60ba..ebe3db983f 100644 --- a/src/core/CPP/kernels/CPPDetectionWindowNonMaximaSuppressionKernel.cpp +++ b/src/core/CPP/kernels/CPPDetectionWindowNonMaximaSuppressionKernel.cpp @@ -59,8 +59,9 @@ void CPPDetectionWindowNonMaximaSuppressionKernel::configure(IDetectionWindowArr IKernel::configure(Window()); // Default 1 iteration window } -void CPPDetectionWindowNonMaximaSuppressionKernel::run(const Window &window) +void CPPDetectionWindowNonMaximaSuppressionKernel::run(const Window &window, const ThreadInfo &info) { + ARM_COMPUTE_UNUSED(info); ARM_COMPUTE_ERROR_ON_UNCONFIGURED_KERNEL(this); ARM_COMPUTE_ERROR_ON_MISMATCHING_WINDOWS(IKernel::window(), window); ARM_COMPUTE_ERROR_ON(_input_output->buffer() == nullptr); diff --git a/src/core/CPP/kernels/CPPSortEuclideanDistanceKernel.cpp b/src/core/CPP/kernels/CPPSortEuclideanDistanceKernel.cpp index 09d3ccffa4..3b1c7aeb3d 100644 --- a/src/core/CPP/kernels/CPPSortEuclideanDistanceKernel.cpp +++ b/src/core/CPP/kernels/CPPSortEuclideanDistanceKernel.cpp @@ -68,8 +68,9 @@ bool CPPSortEuclideanDistanceKernel::is_parallelisable() const return false; } -void CPPSortEuclideanDistanceKernel::run(const Window &window) +void CPPSortEuclideanDistanceKernel::run(const Window &window, const ThreadInfo &info) { + ARM_COMPUTE_UNUSED(info); ARM_COMPUTE_ERROR_ON_UNCONFIGURED_KERNEL(this); ARM_COMPUTE_ERROR_ON_MISMATCHING_WINDOWS(ICPPKernel::window(), window); -- cgit v1.2.1