COMPMID-424 NEON MinMaxLocation test.

Change-Id: I3dda0961061b52c680b5af0443ad93a00425dd4c
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/77433
Reviewed-by: Michele DiGiorgio <michele.digiorgio@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Steven Niu <steven.niu@arm.com>
diff --git a/tests/validation/Reference.cpp b/tests/validation/Reference.cpp
index 4b4919f..3b429c1 100644
--- a/tests/validation/Reference.cpp
+++ b/tests/validation/Reference.cpp
@@ -71,6 +71,18 @@
 
     return std::make_pair(ref_dst_x, ref_dst_y);
 }
+void Reference::compute_reference_min_max_location(const TensorShape &shape, DataType dt_in, int32_t &min, int32_t &max, Coordinates2DArray &min_loc, Coordinates2DArray &max_loc,
+                                                   uint32_t &min_count, uint32_t &max_count)
+{
+    // Create reference
+    RawTensor ref_src = library->get(shape, dt_in);
+
+    // Fill reference
+    library->fill_tensor_uniform(ref_src, 0);
+
+    // Compute reference
+    ReferenceCPP::min_max_location(ref_src, min, max, min_loc, max_loc, min_count, max_count);
+}
 std::pair<float, float> Reference::compute_reference_mean_and_standard_deviation(const TensorShape &shape)
 {
     // Create reference