diff options
author | Jan Eilers <jan.eilers@arm.com> | 2021-12-16 11:28:37 +0000 |
---|---|---|
committer | Francis Murtagh <francis.murtagh@arm.com> | 2021-12-17 14:10:07 +0000 |
commit | 446707fbc95ffedc7b2e463679dfcef1e827f649 (patch) | |
tree | 267133674d698f1cf58ba40e45a37baea4c256fd /include/armnn | |
parent | 19bde17aa6971487d859f69dab980797bd7508b3 (diff) | |
download | armnn-446707fbc95ffedc7b2e463679dfcef1e827f649.tar.gz |
Remove deprecated code for 22.02
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I9114288e705936b12129b01bfd482bbe1260f80b
Diffstat (limited to 'include/armnn')
-rw-r--r-- | include/armnn/IRuntime.hpp | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/include/armnn/IRuntime.hpp b/include/armnn/IRuntime.hpp index bdfd9b224b..d85a3e3724 100644 --- a/include/armnn/IRuntime.hpp +++ b/include/armnn/IRuntime.hpp @@ -31,40 +31,7 @@ class IRuntime; using IRuntimePtr = std::unique_ptr<IRuntime, void(*)(IRuntime* runtime)>; struct INetworkProperties -{ - ARMNN_DEPRECATED_MSG_REMOVAL_DATE("Please use INetworkProperties constructor with MemorySource argument", "22.02") - INetworkProperties(bool importEnabled = false, - bool exportEnabled = false, - bool asyncEnabled = false, - bool profilingEnabled = false) - : m_ImportEnabled(importEnabled), - m_ExportEnabled(exportEnabled), - m_AsyncEnabled(asyncEnabled), - m_ProfilingEnabled(profilingEnabled), - m_OutputNetworkDetailsMethod(ProfilingDetailsMethod::Undefined), - m_InputSource(m_ImportEnabled ? MemorySource::Malloc : MemorySource::Undefined), - m_OutputSource(m_ExportEnabled ? MemorySource::Malloc : MemorySource::Undefined), - m_ExternalMemoryManagementEnabled(false) - {} - - ARMNN_DEPRECATED_MSG_REMOVAL_DATE("Please use INetworkProperties constructor without numThreads argument", "22.02") - INetworkProperties(bool asyncEnabled, - MemorySource inputSource, - MemorySource outputSource, - size_t numThreads, - bool profilingEnabled = false) - : m_ImportEnabled(inputSource != MemorySource::Undefined), - m_ExportEnabled(outputSource != MemorySource::Undefined), - m_AsyncEnabled(asyncEnabled), - m_ProfilingEnabled(profilingEnabled), - m_OutputNetworkDetailsMethod(ProfilingDetailsMethod::Undefined), - m_InputSource(inputSource), - m_OutputSource(outputSource), - m_ExternalMemoryManagementEnabled(false) - { - armnn::IgnoreUnused(numThreads); - } - +{ INetworkProperties(bool asyncEnabled, MemorySource inputSource, MemorySource outputSource, |