[IE CLDNN] Add push / pop macro for OpenCL header (#1645)
authorIlya Lavrenov <ilya.lavrenov@intel.com>
Wed, 5 Aug 2020 20:55:42 +0000 (23:55 +0300)
committerGitHub <noreply@github.com>
Wed, 5 Aug 2020 20:55:42 +0000 (23:55 +0300)
inference-engine/include/gpu/gpu_ocl_wrapper.hpp

index fce7d8f..282dcd8 100644 (file)
 #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