From bfd75d64b99342a6cb46380f7173c39026ed7ea2 Mon Sep 17 00:00:00 2001 From: Sang-Hoon Park Date: Wed, 30 Oct 2019 14:56:17 +0000 Subject: COMPMID-2672: add comments for OpenCL helper macros Few missing comments are added to give more information about OpenCL helper macros. Change-Id: Ifba434fe5db97c37304cb6229e5f40aa3dffa730 Signed-off-by: Sang-Hoon Park Reviewed-on: https://review.mlplatform.org/c/2201 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- src/core/CL/cl_kernels/helpers_asymm.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/core/CL/cl_kernels/helpers_asymm.h') diff --git a/src/core/CL/cl_kernels/helpers_asymm.h b/src/core/CL/cl_kernels/helpers_asymm.h index f115602a1a..f7eff758c0 100644 --- a/src/core/CL/cl_kernels/helpers_asymm.h +++ b/src/core/CL/cl_kernels/helpers_asymm.h @@ -26,6 +26,13 @@ #include "helpers.h" +/** Convert the given vector with round to nearest even rounding mode + * + * @param[in] x The target to be converted + * @param[in] type The target type + * + * @return The converted vector + */ #define CONVERT_DOWN_RTE_STR(x, type) (convert_##type##_rte((x))) #define CONVERT_DOWN_RTE(x, type) CONVERT_DOWN_RTE_STR(x, type) -- cgit v1.2.1