From 8b2fdc9dd3e0c66394e1a2f50ca9364d9195fbfe Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Thu, 9 Aug 2018 11:42:38 +0100 Subject: COMPMID-1478: Updated OpenCL headers to the latest Khronos ones Change-Id: Ie26b78c9da635206c96111ea490ac565063838ba Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/143408 Tested-by: Jenkins Reviewed-by: Pablo Tello --- arm_compute/core/CL/OpenCL.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'arm_compute/core/CL/OpenCL.h') diff --git a/arm_compute/core/CL/OpenCL.h b/arm_compute/core/CL/OpenCL.h index 44e886564a..33053308ec 100644 --- a/arm_compute/core/CL/OpenCL.h +++ b/arm_compute/core/CL/OpenCL.h @@ -31,10 +31,14 @@ #ifndef ARM_COMPUTE_NO_EXCEPTIONS #define CL_HPP_ENABLE_EXCEPTIONS #endif // ARM_COMPUTE_NO_EXCEPTIONS -#define CL_HPP_CL_1_2_DEFAULT_BUILD +#define CL_TARGET_OPENCL_VERSION 200 #define CL_HPP_TARGET_OPENCL_VERSION 110 #define CL_HPP_MINIMUM_OPENCL_VERSION 110 +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Weffc++" +#pragma GCC diagnostic ignored "-Wignored-qualifiers" #include +#pragma GCC diagnostic pop namespace cl { -- cgit v1.2.1