aboutsummaryrefslogtreecommitdiff
path: root/shim/sl/canonical/ArmnnDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shim/sl/canonical/ArmnnDevice.cpp')
-rw-r--r--shim/sl/canonical/ArmnnDevice.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/shim/sl/canonical/ArmnnDevice.cpp b/shim/sl/canonical/ArmnnDevice.cpp
index 8f2212dba..71135cb13 100644
--- a/shim/sl/canonical/ArmnnDevice.cpp
+++ b/shim/sl/canonical/ArmnnDevice.cpp
@@ -76,7 +76,6 @@ ArmnnDevice::ArmnnDevice(DriverOptions options)
}
armnn::IRuntime::CreationOptions runtimeOptions;
-#if defined(ARMCOMPUTECL_ENABLED)
if (std::find(m_Options.GetBackends().begin(),
m_Options.GetBackends().end(),
armnn::Compute::GpuAcc) != m_Options.GetBackends().end())
@@ -109,7 +108,6 @@ ArmnnDevice::ArmnnDevice(DriverOptions options)
VLOG(DRIVER) << "ArmnnDevice: Unknown exception: %s. Device will be unavailable." << error.what();
}
}
-#endif
runtimeOptions.m_EnableGpuProfiling = m_Options.IsGpuProfilingEnabled();
m_Runtime = armnn::IRuntime::Create(runtimeOptions);