aboutsummaryrefslogtreecommitdiff
path: root/tests/Types.h
diff options
context:
space:
mode:
authorJohn Richardson <john.richardson@arm.com>2017-09-05 11:21:56 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commitf89a49f7bdd8d03400060488596c8757745e19cf (patch)
tree7e98eb703794e2bce9b9f2fbcbfc9c29714cf8fe /tests/Types.h
parentf3aeee133c1c9c98c6828e935cf4f9801fbda9e1 (diff)
downloadComputeLibrary-f89a49f7bdd8d03400060488596c8757745e19cf.tar.gz
COMPMID-503: Move MinMaxLocation to new validation
Change-Id: I2d518b3a3f15e2c4786488593dac244c1d74a0f9 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/86533 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com>
Diffstat (limited to 'tests/Types.h')
-rw-r--r--tests/Types.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/Types.h b/tests/Types.h
index cb9b0b9d5a..516f61c44b 100644
--- a/tests/Types.h
+++ b/tests/Types.h
@@ -23,6 +23,11 @@
*/
#ifndef __ARM_COMPUTE_TEST_TYPES_H__
#define __ARM_COMPUTE_TEST_TYPES_H__
+
+#include "arm_compute/core/Types.h"
+
+#include <vector>
+
namespace arm_compute
{
/** Fixed point operation */
@@ -33,5 +38,14 @@ enum class FixedPointOp
INV_SQRT, /**< Inverse square root */
RECIPROCAL /**< Reciprocal */
};
+
+template <typename MinMaxType>
+struct MinMaxLocationValues
+{
+ MinMaxType min{};
+ MinMaxType max{};
+ std::vector<Coordinates2D> min_loc{};
+ std::vector<Coordinates2D> max_loc{};
+};
} // namespace arm_compute
#endif /* __ARM_COMPUTE_TEST_TYPES_H__ */