projects
/
platform
/
upstream
/
armcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8140e1e
)
Merge pull request #325 from lukeiwanski/feature/no_exceptions
author
Anthony Barbier
<anthony.barbier@arm.com>
Wed, 3 Jan 2018 16:21:54 +0000
(16:21 +0000)
committer
Anthony Barbier
<anthony.barbier@arm.com>
Wed, 24 Jan 2018 10:01:42 +0000
(10:01 +0000)
ARM_COMPUTE_NO_EXCEPTIONS macro guard
arm_compute/core/CL/OpenCL.h
patch
|
blob
|
history
diff --git
a/arm_compute/core/CL/OpenCL.h
b/arm_compute/core/CL/OpenCL.h
index
8a2d30b
..
60f0330
100644
(file)
--- a/
arm_compute/core/CL/OpenCL.h
+++ b/
arm_compute/core/CL/OpenCL.h
@@
-28,7
+28,9
@@
#include <utility>
/* 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