From 446707fbc95ffedc7b2e463679dfcef1e827f649 Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 16 Dec 2021 11:28:37 +0000 Subject: Remove deprecated code for 22.02 Signed-off-by: Jan Eilers Change-Id: I9114288e705936b12129b01bfd482bbe1260f80b --- include/armnn/IRuntime.hpp | 35 +---------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) (limited to 'include') 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; 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, -- cgit v1.2.1