aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/CL/functions/CLHOGGradient.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLHOGGradient.h')
-rw-r--r--arm_compute/runtime/CL/functions/CLHOGGradient.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/arm_compute/runtime/CL/functions/CLHOGGradient.h b/arm_compute/runtime/CL/functions/CLHOGGradient.h
index b0589027e7..39d26fb110 100644
--- a/arm_compute/runtime/CL/functions/CLHOGGradient.h
+++ b/arm_compute/runtime/CL/functions/CLHOGGradient.h
@@ -24,9 +24,6 @@
#ifndef ARM_COMPUTE_CLHOGGRADIENT_H
#define ARM_COMPUTE_CLHOGGRADIENT_H
-#include "arm_compute/core/CL/ICLKernel.h"
-
-#include "arm_compute/core/CL/kernels/CLMagnitudePhaseKernel.h"
#include "arm_compute/core/Types.h"
#include "arm_compute/runtime/CL/CLTensor.h"
#include "arm_compute/runtime/CL/functions/CLDerivative.h"
@@ -39,6 +36,9 @@
namespace arm_compute
{
+class CLCompileContext;
+class CLMagnitudePhaseKernel;
+class ITensorInfo;
/** Basic function to calculate the gradient for HOG. This function calls the following OpenCL kernels:
*
* -# @ref CLDerivative
@@ -79,11 +79,11 @@ public:
void run() override;
private:
- MemoryGroup _memory_group;
- CLDerivative _derivative;
- CLMagnitudePhaseKernel _mag_phase;
- CLTensor _gx;
- CLTensor _gy;
+ MemoryGroup _memory_group;
+ CLDerivative _derivative;
+ std::unique_ptr<CLMagnitudePhaseKernel> _mag_phase;
+ CLTensor _gx;
+ CLTensor _gy;
};
}
#endif /*ARM_COMPUTE_CLHOGGRADIENT_H */