aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/NEON/functions/NEHOGGradient.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEHOGGradient.h')
-rw-r--r--arm_compute/runtime/NEON/functions/NEHOGGradient.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEHOGGradient.h b/arm_compute/runtime/NEON/functions/NEHOGGradient.h
index dd2d99adfe..7e268411e1 100644
--- a/arm_compute/runtime/NEON/functions/NEHOGGradient.h
+++ b/arm_compute/runtime/NEON/functions/NEHOGGradient.h
@@ -27,6 +27,8 @@
#include "arm_compute/core/NEON/INEKernel.h"
#include "arm_compute/core/Types.h"
#include "arm_compute/runtime/IFunction.h"
+#include "arm_compute/runtime/IMemoryManager.h"
+#include "arm_compute/runtime/MemoryGroup.h"
#include "arm_compute/runtime/NEON/functions/NEDerivative.h"
#include "arm_compute/runtime/Tensor.h"
@@ -46,7 +48,7 @@ class NEHOGGradient : public IFunction
{
public:
/** Default constructor */
- NEHOGGradient();
+ NEHOGGradient(std::shared_ptr<IMemoryManager> memory_manager = nullptr);
/** Initialise the function's source, destinations, phase type and border mode
*
* @param[in, out] input Input tensor. Data type supported: U8.
@@ -63,6 +65,7 @@ public:
void run() override;
private:
+ MemoryGroup _memory_group;
NEDerivative _derivative;
std::unique_ptr<INEKernel> _mag_phase;
Tensor _gx;