24 #ifndef ARM_COMPUTE_CLMINMAXLOCATION_H 25 #define ARM_COMPUTE_CLMINMAXLOCATION_H 34 class CLCompileContext;
36 class CLMinMaxLocationKernel;
77 uint32_t *min_count =
nullptr, uint32_t *max_count =
nullptr);
93 uint32_t *min_count =
nullptr, uint32_t *max_count =
nullptr);
99 std::unique_ptr<CLMinMaxKernel> _min_max_kernel;
100 std::unique_ptr<CLMinMaxLocationKernel> _min_max_loc_kernel;
101 cl::Buffer _min_max_vals;
102 cl::Buffer _min_max_count_vals;
105 uint32_t *_min_count;
106 uint32_t *_max_count;
Base class for all functions.
ICLTensor ICLImage
Interface for OpenCL images.
void configure(const ICLImage *input, void *min, void *max, CLCoordinates2DArray *min_loc=nullptr, CLCoordinates2DArray *max_loc=nullptr, uint32_t *min_count=nullptr, uint32_t *max_count=nullptr)
Initialise the kernel's inputs and outputs.
Copyright (c) 2017-2021 Arm Limited.
CLMinMaxLocation()
Constructor.
Interface for OpenCL tensor.
~CLMinMaxLocation()
Default destructor.
Basic function to execute min and max location.
void run() override
Run the kernels contained in the function.
CLMinMaxLocation & operator=(const CLMinMaxLocation &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...