COMPMID-1722 : CL: Implement Range

Change-Id: I88da6eb5289c303b1dc91606c1560ce629746058
Reviewed-on: https://review.mlplatform.org/381
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
diff --git a/arm_compute/core/CL/CLHelpers.h b/arm_compute/core/CL/CLHelpers.h
index a86870a..78427c3 100644
--- a/arm_compute/core/CL/CLHelpers.h
+++ b/arm_compute/core/CL/CLHelpers.h
@@ -135,5 +135,14 @@
  * @return True if the configuration is supported
  */
 bool cl_winograd_convolution_layer_supported(const Size2D &output_tile, const Size2D &kernel_size, DataLayout data_layout);
+
+/** Helper function to get the preferred native vector width size for built-in scalar types that can be put into vectors
+ *
+ * @param[in] device A CL device
+ * @param[in] dt     data type
+ *
+ * @return preferred vector width
+ */
+size_t preferred_vector_width(const cl::Device &device, DataType dt);
 }
 #endif /* __ARM_COMPUTE_CLHELPERS_H__ */