aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/armnn_delegate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'delegate/src/armnn_delegate.cpp')
-rw-r--r--delegate/src/armnn_delegate.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/delegate/src/armnn_delegate.cpp b/delegate/src/armnn_delegate.cpp
index 4d95522dbd..06affca752 100644
--- a/delegate/src/armnn_delegate.cpp
+++ b/delegate/src/armnn_delegate.cpp
@@ -137,13 +137,12 @@ Delegate::Delegate(armnnDelegate::DelegateOptions options)
m_Options(std::move(options))
{
// Configures logging for ARMNN
- if (options.IsLoggingEnabled())
+ if (m_Options.IsLoggingEnabled())
{
- armnn::ConfigureLogging(true, true, options.GetLoggingSeverity());
+ armnn::ConfigureLogging(true, true, m_Options.GetLoggingSeverity());
}
-
// Create ArmNN Runtime
- m_Runtime = armnn::IRuntime::Create(options.GetRuntimeOptions());
+ m_Runtime = armnn::IRuntime::Create(m_Options.GetRuntimeOptions());
std::vector<armnn::BackendId> backends;
if (m_Runtime)