From 84da38b0f11ca3db0a439e510514be780f3933ff Mon Sep 17 00:00:00 2001 From: Derek Lamberti Date: Thu, 13 Jun 2019 11:40:08 +0100 Subject: IVGCVSW-3277 Refactor TensorHandle factory API * Added backend support for multiple types of TensorHandle factories * Refactored the backend API to enable new tensor strategies * Added mechanism to determine memory strategies during optimization * Perform mem-copy only when Direct access is not found * Explicitly deleted the copy-constructor from OutputSlot to prevent accidental local copies that would cause the DisconnectAll to be called by the destructor Change-Id: I7e812c8e5e6c1c20db1c5932749ac70fd93db7f8 Signed-off-by: Derek Lamberti Signed-off-by: Matteo Martincigh --- src/backends/backendsCommon/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/backends/backendsCommon/CMakeLists.txt') diff --git a/src/backends/backendsCommon/CMakeLists.txt b/src/backends/backendsCommon/CMakeLists.txt index e1e387bc6f..bc1c15beef 100644 --- a/src/backends/backendsCommon/CMakeLists.txt +++ b/src/backends/backendsCommon/CMakeLists.txt @@ -11,6 +11,8 @@ list(APPEND armnnBackendsCommon_sources CpuTensorHandle.hpp IBackendInternal.hpp IBackendContext.hpp + ITensorHandleFactory.cpp + ITensorHandleFactory.hpp LayerSupportBase.cpp LayerSupportBase.hpp IMemoryManager.hpp @@ -22,6 +24,8 @@ list(APPEND armnnBackendsCommon_sources OptimizationViews.hpp OutputHandler.cpp OutputHandler.hpp + TensorHandleFactoryRegistry.cpp + TensorHandleFactoryRegistry.hpp WorkloadDataCollector.hpp WorkloadData.cpp WorkloadDataFwd.hpp -- cgit v1.2.1