Skip to content

Commit 6943bb0

Browse files
Merge pull request #325 from lukeiwanski/feature/no_exceptions
ARM_COMPUTE_NO_EXCEPTIONS macro guard
1 parent 8140e1e commit 6943bb0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arm_compute/core/CL/OpenCL.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
#include <utility>
2929

3030
/* Configure the Khronos C++ wrapper to target OpenCL 1.2: */
31+
#ifndef ARM_COMPUTE_NO_EXCEPTIONS
3132
#define CL_HPP_ENABLE_EXCEPTIONS
33+
#endif // ARM_COMPUTE_NO_EXCEPTIONS
3234
#define CL_HPP_CL_1_2_DEFAULT_BUILD
3335
#define CL_HPP_TARGET_OPENCL_VERSION 110
3436
#define CL_HPP_MINIMUM_OPENCL_VERSION 110

0 commit comments

Comments
 (0)