aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL/OpenCL.h
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2018-08-09 11:42:38 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit8b2fdc9dd3e0c66394e1a2f50ca9364d9195fbfe (patch)
tree5aeb6484d56918b1a276b228da23db3684aac4eb /arm_compute/core/CL/OpenCL.h
parent4ead11aa586422ffc9b44123fd4b1ba308f08f24 (diff)
downloadComputeLibrary-8b2fdc9dd3e0c66394e1a2f50ca9364d9195fbfe.tar.gz
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 <bsgcomp@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'arm_compute/core/CL/OpenCL.h')
-rw-r--r--arm_compute/core/CL/OpenCL.h6
1 files changed, 5 insertions, 1 deletions
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 <CL/cl2.hpp>
+#pragma GCC diagnostic pop
namespace cl
{