From f201d67c965318ebe49f0d38ea36e530c35a4701 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Wed, 10 Jun 2020 09:50:19 +0800 Subject: [PATCH] cldnn: fix inclusion of headers Upstream-Status: Inappropriate Signed-off-by: Anuj Mittal --- inference-engine/include/gpu/gpu_ocl_wrapper.hpp | 2 +- inference-engine/src/cldnn_engine/CMakeLists.txt | 1 + .../thirdparty/clDNN/common/khronos_ocl_clhpp/cl2_ext.hpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/inference-engine/include/gpu/gpu_ocl_wrapper.hpp b/inference-engine/include/gpu/gpu_ocl_wrapper.hpp index fce7d8f17..827e5764a 100644 --- a/inference-engine/include/gpu/gpu_ocl_wrapper.hpp +++ b/inference-engine/include/gpu/gpu_ocl_wrapper.hpp @@ -21,4 +21,4 @@ # pragma GCC system_header #endif -#include +#include diff --git a/inference-engine/src/cldnn_engine/CMakeLists.txt b/inference-engine/src/cldnn_engine/CMakeLists.txt index eeb9b5c80..32a283ba4 100644 --- a/inference-engine/src/cldnn_engine/CMakeLists.txt +++ b/inference-engine/src/cldnn_engine/CMakeLists.txt @@ -33,6 +33,7 @@ target_include_directories(${TARGET_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} $ ${CLDNN__IOCL_ICD_INCDIRS} + ${CLDNN_TOP_FOLDER}/common/khronos_ocl_clhpp ${CLDNN_TOP_FOLDER}) # install diff --git a/inference-engine/thirdparty/clDNN/common/khronos_ocl_clhpp/cl2_ext.hpp b/inference-engine/thirdparty/clDNN/common/khronos_ocl_clhpp/cl2_ext.hpp index c67c81726..5ca48c597 100644 --- a/inference-engine/thirdparty/clDNN/common/khronos_ocl_clhpp/cl2_ext.hpp +++ b/inference-engine/thirdparty/clDNN/common/khronos_ocl_clhpp/cl2_ext.hpp @@ -29,7 +29,7 @@ typedef cl_d3d11_device_set_khr cl_device_set_intel; typedef cl_va_api_device_source_intel cl_device_source_intel; typedef cl_va_api_device_set_intel cl_device_set_intel; #endif -#include +#include #include "cl_intel_usm_defs.h" #include -- 2.25.4