From: Anthony Barbier Date: Wed, 3 Jan 2018 16:21:54 +0000 (+0000) Subject: Merge pull request #325 from lukeiwanski/feature/no_exceptions X-Git-Tag: accepted/tizen/unified/20180419.075938~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6943bb00e79fe2ea4c127dc04b3440c5b0b29ce0;p=platform%2Fupstream%2Farmcl.git Merge pull request #325 from lukeiwanski/feature/no_exceptions ARM_COMPUTE_NO_EXCEPTIONS macro guard --- diff --git a/arm_compute/core/CL/OpenCL.h b/arm_compute/core/CL/OpenCL.h index 8a2d30b..60f0330 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