24 #ifndef ARM_COMPUTE_CLMAGNITUDEPHASEKERNEL_H 25 #define ARM_COMPUTE_CLMAGNITUDEPHASEKERNEL_H void run(const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue...
const Window & window() const
The maximum window the kernel can be executed on.
PhaseType
Phase calculation type.
SimpleTensor< uint8_t > phase(const SimpleTensor< T > &gx, const SimpleTensor< T > &gy, PhaseType phase_type)
Common interface for all the OpenCL kernels.
Copyright (c) 2017-2021 Arm Limited.
CLMagnitudePhaseKernel & operator=(const CLMagnitudePhaseKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
CLMagnitudePhaseKernel()
Default constructor.
Interface for OpenCL tensor.
Template interface for the kernel to compute magnitude and phase.
MagnitudeType
Magnitude calculation type.
void configure(const ICLTensor *gx, const ICLTensor *gy, ICLTensor *magnitude, ICLTensor *phase, MagnitudeType mag_type=MagnitudeType::L2NORM, PhaseType phase_type=PhaseType::SIGNED)
Initialise the kernel's input, output.
Describe a multidimensional execution window.
SimpleTensor< T > magnitude(const SimpleTensor< T > &gx, const SimpleTensor< T > &gy, MagnitudeType magnitude_type)