projects
/
platform
/
upstream
/
dldt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2c41b8e
)
[IE CLDNN] Add push / pop macro for OpenCL header (#1645)
author
Ilya Lavrenov
<ilya.lavrenov@intel.com>
Wed, 5 Aug 2020 20:55:42 +0000
(23:55 +0300)
committer
GitHub
<noreply@github.com>
Wed, 5 Aug 2020 20:55:42 +0000
(23:55 +0300)
inference-engine/include/gpu/gpu_ocl_wrapper.hpp
patch
|
blob
|
history
diff --git
a/inference-engine/include/gpu/gpu_ocl_wrapper.hpp
b/inference-engine/include/gpu/gpu_ocl_wrapper.hpp
index
fce7d8f
..
282dcd8
100644
(file)
--- a/
inference-engine/include/gpu/gpu_ocl_wrapper.hpp
+++ b/
inference-engine/include/gpu/gpu_ocl_wrapper.hpp
@@
-18,7
+18,12
@@
#define CL_HPP_TARGET_OPENCL_VERSION 120
#if defined __GNUC__
+# pragma GCC diagnostic push
# pragma GCC system_header
#endif
#include <CL/cl2.hpp>
+
+#if defined __GNUC__
+# pragma GCC diagnostic pop
+#endif