aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL/CLHelpers.h
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2018-09-04 14:55:55 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit73023027d6250daaa1df49fdeb1d21e59a0bf7f5 (patch)
treefbe02771dde050fa1c386881cc6ff43d1ea10e05 /arm_compute/core/CL/CLHelpers.h
parent555d1109dd566661bcf911c28030927cf4fde5b4 (diff)
downloadComputeLibrary-73023027d6250daaa1df49fdeb1d21e59a0bf7f5.tar.gz
COMPMID-1539 Implement YOLOLayer on CL
Change-Id: I332c0703e1399fca0c5b724529b54a28f49c88da Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/146842 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'arm_compute/core/CL/CLHelpers.h')
-rw-r--r--arm_compute/core/CL/CLHelpers.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arm_compute/core/CL/CLHelpers.h b/arm_compute/core/CL/CLHelpers.h
index 18d6bdf49f..a86870a250 100644
--- a/arm_compute/core/CL/CLHelpers.h
+++ b/arm_compute/core/CL/CLHelpers.h
@@ -47,6 +47,14 @@ static constexpr unsigned int max_cl_vector_width = 16;
*/
std::string get_cl_type_from_data_type(const DataType &dt);
+/** Translates a tensor data type to the appropriate OpenCL select type.
+ *
+ * @param[in] dt @ref DataType to be translated to OpenCL select type.
+ *
+ * @return The string specifying the OpenCL select type to be used.
+ */
+std::string get_cl_select_type_from_data_type(const DataType &dt);
+
/** Get the size of a data type in number of bits.
*
* @param[in] dt @ref DataType.