aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h
diff options
context:
space:
mode:
authorsteniu01 <steven.niu@arm.com>2017-06-19 15:44:45 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 14:14:20 +0100
commit4c2938ed50a78753bfbdbb2f3cbf43f5fed779f9 (patch)
tree7321233be6cf5f3e3fa321b7cf450b01aca6f3c8 /arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h
parentfda461824f18f0c7429abc899caea39937af88bc (diff)
downloadComputeLibrary-4c2938ed50a78753bfbdbb2f3cbf43f5fed779f9.tar.gz
COMPMID-315 Fix NEMinMaxLocation bug
Change-Id: I3d693da31df3d34983b4135a9a1415b9ac046179 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/78161 Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h')
-rw-r--r--arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h b/arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h
index e405ea5ae4..b5375f613b 100644
--- a/arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h
+++ b/arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h
@@ -70,17 +70,17 @@ private:
*
* @param win The window to run the algorithm on.
*/
- void minmax_U8(const Window &win);
+ void minmax_U8(Window win);
/** Performs the min/max algorithm on S16 images on a given window.
*
* @param win The window to run the algorithm on.
*/
- void minmax_S16(const Window &win);
+ void minmax_S16(Window win);
/** Common signature for all the specialised MinMax functions
*
* @param[in] window Region on which to execute the kernel.
*/
- using MinMaxFunction = void (NEMinMaxKernel::*)(const Window &window);
+ using MinMaxFunction = void (NEMinMaxKernel::*)(Window window);
/** MinMax function to use for the particular image types passed to configure() */
MinMaxFunction _func;
/** Helper to update min/max values **/
@@ -148,14 +148,13 @@ private:
template <class T, typename>
struct create_func_table;
- const IImage *_input; /**< Input image. */
- int32_t *_min; /**< Minimum value. */
- int32_t *_max; /**< Maximum value. */
- uint32_t *_min_count; /**< Count of minimum value encounters. */
- uint32_t *_max_count; /**< Count of maximum value encounters. */
- ICoordinates2DArray *_min_loc; /**< Locations of minimum values. */
- ICoordinates2DArray *_max_loc; /**< Locations of maximum values. */
- unsigned int _num_elems_processed_per_iteration; /**< Elements processed per iteration. */
+ const IImage *_input; /**< Input image. */
+ int32_t *_min; /**< Minimum value. */
+ int32_t *_max; /**< Maximum value. */
+ uint32_t *_min_count; /**< Count of minimum value encounters. */
+ uint32_t *_max_count; /**< Count of maximum value encounters. */
+ ICoordinates2DArray *_min_loc; /**< Locations of minimum values. */
+ ICoordinates2DArray *_max_loc; /**< Locations of maximum values. */
};
}
#endif /*__ARM_COMPUTE_NEMINMAXLOCATIONKERNEL_H__ */