From 35a06893c0f7115b6274720569cf0b5398bff2e5 Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Mon, 6 Feb 2023 15:01:57 +0000 Subject: IVGCVSW-7476 Remove ProfilingOptions from DelegateOptions. ProfilingOptions is not used in DelegateOptions. Instead the parameters are passed in through the RuntimeOptions. This is done in ExecuteNetwork and TfliteExecutor. Signed-off-by: Colm Donelan Change-Id: Iaab3d4ef277c47e1ff82a51ba2648f5f51ec3e2c --- delegate/include/DelegateOptions.hpp | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'delegate/include') diff --git a/delegate/include/DelegateOptions.hpp b/delegate/include/DelegateOptions.hpp index 4f157db73b..a3c1edf82f 100644 --- a/delegate/include/DelegateOptions.hpp +++ b/delegate/include/DelegateOptions.hpp @@ -1,17 +1,13 @@ // -// Copyright © 2020 Arm Ltd and Contributors. All rights reserved. +// Copyright © 2020-2023 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once #include -#include #include -#include - -#include #include #include @@ -247,13 +243,6 @@ public: bool GetInternalProfilingState() const { return m_InternalProfilingEnabled; } const armnn::ProfilingDetailsMethod& GetInternalProfilingDetail() const { return m_InternalProfilingDetail; } - void SetExternalProfilingParams( - const arm::pipe::ProfilingOptions& externalProfilingParams) - { m_ProfilingOptions = externalProfilingParams; } - - const arm::pipe::ProfilingOptions& GetExternalProfilingParams() const - { return m_ProfilingOptions; } - void SetSerializeToDot(const std::string& serializeToDotFile) { m_SerializeToDot = serializeToDotFile; } const std::string& GetSerializeToDot() const { return m_SerializeToDot; } @@ -291,10 +280,7 @@ private: /// Options for the optimization step for the network armnn::OptimizerOptions m_OptimizerOptions; - /// External profiling options. - arm::pipe::ProfilingOptions m_ProfilingOptions; - - /// Internal profiling options. + /// Internal profiling options. Written to INetworkProperties during model load. /// Indicates whether internal profiling is enabled or not. bool m_InternalProfilingEnabled = false; /// Sets the level of detail output by the profiling. Options are DetailsWithEvents = 1 and DetailsOnly = 2 -- cgit v1.2.1