aboutsummaryrefslogtreecommitdiff
path: root/delegate/include
diff options
context:
space:
mode:
authorColm Donelan <colm.donelan@arm.com>2023-02-06 15:01:57 +0000
committerColm Donelan <colm.donelan@arm.com>2023-02-06 15:02:07 +0000
commit35a06893c0f7115b6274720569cf0b5398bff2e5 (patch)
tree299003b5bcc163ddcd483d37db853a187fa37863 /delegate/include
parent4c231de93b9b7c2af24e155550cb80b96f2c4bb5 (diff)
downloadarmnn-35a06893c0f7115b6274720569cf0b5398bff2e5.tar.gz
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 <colm.donelan@arm.com> Change-Id: Iaab3d4ef277c47e1ff82a51ba2648f5f51ec3e2c
Diffstat (limited to 'delegate/include')
-rw-r--r--delegate/include/DelegateOptions.hpp18
1 files changed, 2 insertions, 16 deletions
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 <armnn/ArmNN.hpp>
-#include <armnn/Logging.hpp>
#include <armnn/Optional.hpp>
-#include <client/include/ProfilingOptions.hpp>
-
-#include <set>
#include <string>
#include <vector>
@@ -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