From 6943bb00e79fe2ea4c127dc04b3440c5b0b29ce0 Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Wed, 3 Jan 2018 16:21:54 +0000 Subject: [PATCH] Merge pull request #325 from lukeiwanski/feature/no_exceptions ARM_COMPUTE_NO_EXCEPTIONS macro guard --- arm_compute/core/CL/OpenCL.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.7.4