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...
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.
This file contains all available output stages for GEMMLowp on OpenCL.
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.
const Window & window() const
The maximum window the kernel can be executed on.
Describe a multidimensional execution window.
SimpleTensor< T > magnitude(const SimpleTensor< T > &gx, const SimpleTensor< T > &gy, MagnitudeType magnitude_type)