From e03342e3ba78ecf5b9128339dd47c30e00cb8565 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Mon, 15 Jan 2018 14:39:13 +0000 Subject: COMPMID-799 - Use new OpenCL 8-bit dot product instruction Change-Id: I03d6c6db13bcb565f117725bdab2b68c89a49e21 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/122185 Reviewed-by: Anthony Barbier Tested-by: Jenkins Reviewed-by: Gian Marco Iodice --- arm_compute/core/CL/CLHelpers.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arm_compute/core/CL/CLHelpers.h') diff --git a/arm_compute/core/CL/CLHelpers.h b/arm_compute/core/CL/CLHelpers.h index feb44ce04b..1054f9a615 100644 --- a/arm_compute/core/CL/CLHelpers.h +++ b/arm_compute/core/CL/CLHelpers.h @@ -102,5 +102,12 @@ bool fp16_supported(const cl::Device &device); * @return True if the extension is supported */ bool arm_non_uniform_workgroup_supported(const cl::Device &device); +/** Helper function to check whether the cl_arm_integer_dot_product_int8 extension is supported + * + * @param[in] device A CL device + * + * @return True if the extension is supported + */ +bool dot8_supported(const cl::Device &device); } #endif /* __ARM_COMPUTE_CLHELPERS_H__ */ -- cgit v1.2.1