From 6717868bbf393dbdecdee19abc95b3bb1bfc5a64 Mon Sep 17 00:00:00 2001 From: Ilya Churaev Date: Wed, 27 Oct 2021 11:08:37 +0300 Subject: [PATCH] Remove blob symbols from Inference Engine library (#8212) --- ngraph/core/CMakeLists.txt | 10 ++++------ .../src => ngraph/core/src/ie_legacy}/blob_factory.cpp | 0 .../core/src/ie_legacy}/ie_blob_common.cpp | 0 .../src => ngraph/core/src/ie_legacy}/ie_layouts.cpp | 0 .../core/src/ie_legacy}/system_allocator.cpp | 0 5 files changed, 4 insertions(+), 6 deletions(-) rename {inference-engine/src/inference_engine/src => ngraph/core/src/ie_legacy}/blob_factory.cpp (100%) rename {inference-engine/src/inference_engine/src => ngraph/core/src/ie_legacy}/ie_blob_common.cpp (100%) rename {inference-engine/src/inference_engine/src => ngraph/core/src/ie_legacy}/ie_layouts.cpp (100%) rename {inference-engine/src/inference_engine/src => ngraph/core/src/ie_legacy}/system_allocator.cpp (100%) diff --git a/ngraph/core/CMakeLists.txt b/ngraph/core/CMakeLists.txt index 7b498c0a8a8..488bb200f7d 100644 --- a/ngraph/core/CMakeLists.txt +++ b/ngraph/core/CMakeLists.txt @@ -14,12 +14,10 @@ add_subdirectory(shape_inference) # WA for Tensor implementation via ie::Blob::Ptr set(IE_SRC_ROOT "${IE_MAIN_SOURCE_DIR}/src/inference_engine/src") -set(IE_SHARED_SRCS - "${IE_SRC_ROOT}/system_allocator.cpp" - "${IE_SRC_ROOT}/blob_factory.cpp" - "${IE_SRC_ROOT}/ie_blob_common.cpp" - "${IE_SRC_ROOT}/system_allocator.cpp" - "${IE_SRC_ROOT}/ie_layouts.cpp") +set(IE_SHARED_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/src/ie_legacy/blob_factory.cpp" + "${CMAKE_CURRENT_SOURCE_DIR}/src/ie_legacy/ie_blob_common.cpp" + "${CMAKE_CURRENT_SOURCE_DIR}/src/ie_legacy/ie_layouts.cpp" + "${CMAKE_CURRENT_SOURCE_DIR}/src/ie_legacy/system_allocator.cpp") set(MIXED_SRC ${IE_SHARED_SRCS} "${CMAKE_CURRENT_SOURCE_DIR}/src/runtime/allocator.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/src/runtime/ov_tensor.cpp") diff --git a/inference-engine/src/inference_engine/src/blob_factory.cpp b/ngraph/core/src/ie_legacy/blob_factory.cpp similarity index 100% rename from inference-engine/src/inference_engine/src/blob_factory.cpp rename to ngraph/core/src/ie_legacy/blob_factory.cpp diff --git a/inference-engine/src/inference_engine/src/ie_blob_common.cpp b/ngraph/core/src/ie_legacy/ie_blob_common.cpp similarity index 100% rename from inference-engine/src/inference_engine/src/ie_blob_common.cpp rename to ngraph/core/src/ie_legacy/ie_blob_common.cpp diff --git a/inference-engine/src/inference_engine/src/ie_layouts.cpp b/ngraph/core/src/ie_legacy/ie_layouts.cpp similarity index 100% rename from inference-engine/src/inference_engine/src/ie_layouts.cpp rename to ngraph/core/src/ie_legacy/ie_layouts.cpp diff --git a/inference-engine/src/inference_engine/src/system_allocator.cpp b/ngraph/core/src/ie_legacy/system_allocator.cpp similarity index 100% rename from inference-engine/src/inference_engine/src/system_allocator.cpp rename to ngraph/core/src/ie_legacy/system_allocator.cpp