aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/ProfilingTestUtils.cpp
diff options
context:
space:
mode:
authorSadik Armagan <sadik.armagan@arm.com>2020-03-19 18:16:46 +0000
committerJim Flynn <jim.flynn@arm.com>2020-03-20 08:40:35 +0000
commitea41b57721b644b9350e14754d3ecdcfba87667f (patch)
tree8c1af375cc5df932f26423380e4536b7aaca7d13 /src/profiling/test/ProfilingTestUtils.cpp
parentb60dd243d3d8131f246f2b122309b998287151d2 (diff)
downloadarmnn-ea41b57721b644b9350e14754d3ecdcfba87667f.tar.gz
IVGCVSW-4582 Undefined reference to GetProfilingService causes failure in the Backends CI job
* Enable the GetProfilingService() function to BackendProfilingTests and ProfilingTestUtils Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I32e3625db0f465883f2ec27fb7c2fad4e91b6306
Diffstat (limited to 'src/profiling/test/ProfilingTestUtils.cpp')
-rw-r--r--src/profiling/test/ProfilingTestUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/test/ProfilingTestUtils.cpp b/src/profiling/test/ProfilingTestUtils.cpp
index 17291bad64..325cb40111 100644
--- a/src/profiling/test/ProfilingTestUtils.cpp
+++ b/src/profiling/test/ProfilingTestUtils.cpp
@@ -9,7 +9,8 @@
#include <armnn/Descriptors.hpp>
#include <LabelsAndEventClasses.hpp>
#include <ProfilingService.hpp>
-#include <Runtime.hpp>
+
+#include <test/TestUtils.hpp>
#include <boost/test/unit_test.hpp>
@@ -296,7 +297,6 @@ void VerifyPostOptimisationStructureTestImpl(armnn::BackendId backendId)
// Create runtime in which test will run
armnn::IRuntime::CreationOptions options;
options.m_ProfilingOptions.m_EnableProfiling = true;
-// armnn::IRuntimePtr runtime(armnn::IRuntime::Create(options));
armnn::Runtime runtime(options);
// build up the structure of the network