[IE CLDNN] Add push / pop macro for OpenCL header (#1645)

This commit is contained in:
Ilya Lavrenov 2020-08-05 23:55:42 +03:00 committed by GitHub
parent 2c41b8e4f3
commit 0339fff3bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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