diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2017-09-18 17:43:33 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 5701e2a41ddf0a12042ac648993fc39701961f66 (patch) | |
tree | dd66e82e7f7fdc30a636e748a774422bc1bec40d /arm_compute/runtime/CL/functions/CLGaussian5x5.h | |
parent | e938175997b973e1ea288f5b95cc8710e6abc7aa (diff) | |
download | ComputeLibrary-5701e2a41ddf0a12042ac648993fc39701961f66.tar.gz |
COMPMID-534: Port MemoryManager to CL functions (Images)
Adds support for:
-CLCannyEdge
-CLFastCorners
-CLGaussian5x5
-CLHarrisCorners
-CLSobel3x3
-CLSobel5x5
Change-Id: I712a76d4ceda915b5cf85a4d12c1b7a059d4d909
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/88118
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com>
Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLGaussian5x5.h')
-rw-r--r-- | arm_compute/runtime/CL/functions/CLGaussian5x5.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arm_compute/runtime/CL/functions/CLGaussian5x5.h b/arm_compute/runtime/CL/functions/CLGaussian5x5.h index 148b9a9924..3c60cc66a3 100644 --- a/arm_compute/runtime/CL/functions/CLGaussian5x5.h +++ b/arm_compute/runtime/CL/functions/CLGaussian5x5.h @@ -27,10 +27,13 @@ #include "arm_compute/core/CL/kernels/CLFillBorderKernel.h" #include "arm_compute/core/CL/kernels/CLGaussian5x5Kernel.h" #include "arm_compute/core/Types.h" +#include "arm_compute/runtime/CL/CLMemoryGroup.h" #include "arm_compute/runtime/CL/CLTensor.h" #include "arm_compute/runtime/IFunction.h" +#include "arm_compute/runtime/IMemoryManager.h" #include <cstdint> +#include <memory> namespace arm_compute { @@ -47,7 +50,7 @@ class CLGaussian5x5 : public IFunction { public: /** Default Constructor. */ - CLGaussian5x5(); + CLGaussian5x5(std::shared_ptr<IMemoryManager> memory_manager = nullptr); /** Initialise the function's source, destinations and border mode. * * @param[in,out] input Source tensor. Data types supported: U8. (Written to only for @p border_mode != UNDEFINED) @@ -61,6 +64,7 @@ public: void run() override; protected: + CLMemoryGroup _memory_group; /**< Function's memory group */ CLGaussian5x5HorKernel _kernel_hor; /**< Horizontal pass kernel */ CLGaussian5x5VertKernel _kernel_vert; /**< Vertical pass kernel */ CLFillBorderKernel _border_handler; /**< Kernel to handle image borders */ |