diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-09-07 09:48:04 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | c186b574e52b81c75e551cee46a6c4cc7d500c90 (patch) | |
tree | 682add7d1b705eb6d0b79b1f9a7a039dbaa4287b /src/runtime/CL | |
parent | 3e05e4e85912e745b8555102e1bcef13478d2ceb (diff) | |
download | ComputeLibrary-c186b574e52b81c75e551cee46a6c4cc7d500c90.tar.gz |
COMPMID-481: Add thread info parameter
Change-Id: Iebb50a88d017445b6b37a86563ebd4abd86c5cf5
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/86788
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/runtime/CL')
-rw-r--r-- | src/runtime/CL/functions/CLHOGMultiDetection.cpp | 3 | ||||
-rw-r--r-- | src/runtime/CL/functions/CLHarrisCorners.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/runtime/CL/functions/CLHOGMultiDetection.cpp b/src/runtime/CL/functions/CLHOGMultiDetection.cpp index 6def2dedc9..9eed355710 100644 --- a/src/runtime/CL/functions/CLHOGMultiDetection.cpp +++ b/src/runtime/CL/functions/CLHOGMultiDetection.cpp @@ -29,6 +29,7 @@ #include "arm_compute/runtime/CL/CLArray.h" #include "arm_compute/runtime/CL/CLScheduler.h" #include "arm_compute/runtime/CL/CLTensor.h" +#include "arm_compute/runtime/Scheduler.h" #include "support/ToolchainSupport.h" using namespace arm_compute; @@ -246,7 +247,7 @@ void CLHOGMultiDetection::run() { // Map detection windows array before computing non maxima suppression _detection_windows->map(CLScheduler::get().queue(), true); - _non_maxima_kernel->run(_non_maxima_kernel->window()); + Scheduler::get().schedule(_non_maxima_kernel.get(), Window::DimY); _detection_windows->unmap(CLScheduler::get().queue()); } } diff --git a/src/runtime/CL/functions/CLHarrisCorners.cpp b/src/runtime/CL/functions/CLHarrisCorners.cpp index 8f9fcdc58f..2140240753 100644 --- a/src/runtime/CL/functions/CLHarrisCorners.cpp +++ b/src/runtime/CL/functions/CLHarrisCorners.cpp @@ -165,6 +165,6 @@ void CLHarrisCorners::run() _nonmax.unmap(); _corners->map(CLScheduler::get().queue(), true); - _sort_euclidean.run(_sort_euclidean.window()); + Scheduler::get().schedule(&_sort_euclidean, Window::DimY); _corners->unmap(CLScheduler::get().queue()); } |