From 340a2722ae6e4dd050c6df669f6c742b5107f12d Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Wed, 3 Jan 2018 16:21:54 +0000 Subject: COMPMID-765 Merge pull request #325 from lukeiwanski/feature/no_exceptions ARM_COMPUTE_NO_EXCEPTIONS macro guard Cherry-picked public merge request from Codeplay Change-Id: Id819177fcc86a64dc4e82eefe46b2f646619e8c0 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/114924 Reviewed-by: Georgios Pinitas Tested-by: Jenkins --- arm_compute/core/CL/OpenCL.h | 2 ++ 1 file changed, 2 insertions(+) (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 e389b867a9..18ba2902bf 100644 --- a/arm_compute/core/CL/OpenCL.h +++ b/arm_compute/core/CL/OpenCL.h @@ -28,7 +28,9 @@ #include /* Configure the Khronos C++ wrapper to target OpenCL 1.2: */ +#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_HPP_TARGET_OPENCL_VERSION 110 #define CL_HPP_MINIMUM_OPENCL_VERSION 110 -- cgit v1.2.1