From d92a6e4c19567cb03de76963068c002353cea528 Mon Sep 17 00:00:00 2001 From: Kevin May Date: Thu, 4 Feb 2021 10:27:41 +0000 Subject: IVGCVSW-4873 Implement Pimpl Idiom for IRuntime Signed-off-by: Kevin May Change-Id: I52448938735b2aa678c47e0f3061c87fa0c693b1 --- src/profiling/test/FileOnlyProfilingDecoratorTests.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/profiling/test/FileOnlyProfilingDecoratorTests.cpp') diff --git a/src/profiling/test/FileOnlyProfilingDecoratorTests.cpp b/src/profiling/test/FileOnlyProfilingDecoratorTests.cpp index 943650a8f1..813bb49b72 100644 --- a/src/profiling/test/FileOnlyProfilingDecoratorTests.cpp +++ b/src/profiling/test/FileOnlyProfilingDecoratorTests.cpp @@ -45,7 +45,7 @@ BOOST_AUTO_TEST_CASE(TestFileOnlyProfiling) { // Enable m_FileOnly but also provide ILocalPacketHandler which should consume the packets. // This won't dump anything to file. - armnn::Runtime::CreationOptions creationOptions; + armnn::IRuntime::CreationOptions creationOptions; creationOptions.m_ProfilingOptions.m_EnableProfiling = true; creationOptions.m_ProfilingOptions.m_FileOnly = true; creationOptions.m_ProfilingOptions.m_CapturePeriod = 100; @@ -53,7 +53,7 @@ BOOST_AUTO_TEST_CASE(TestFileOnlyProfiling) ILocalPacketHandlerSharedPtr localPacketHandlerPtr = std::make_shared(); creationOptions.m_ProfilingOptions.m_LocalPacketHandlers.push_back(localPacketHandlerPtr); - armnn::Runtime runtime(creationOptions); + armnn::RuntimeImpl runtime(creationOptions); // ensure the GUID generator is reset to zero GetProfilingService(&runtime).ResetGuidGenerator(); @@ -164,7 +164,7 @@ BOOST_AUTO_TEST_CASE(DumpOutgoingValidFileEndToEnd) // Make sure the file does not exist at this point BOOST_CHECK(!fs::exists(tempPath)); - armnn::Runtime::CreationOptions options; + armnn::IRuntime::CreationOptions options; options.m_ProfilingOptions.m_EnableProfiling = true; options.m_ProfilingOptions.m_FileOnly = true; options.m_ProfilingOptions.m_IncomingCaptureFile = ""; @@ -175,7 +175,7 @@ BOOST_AUTO_TEST_CASE(DumpOutgoingValidFileEndToEnd) ILocalPacketHandlerSharedPtr localPacketHandlerPtr = std::make_shared(); options.m_ProfilingOptions.m_LocalPacketHandlers.push_back(localPacketHandlerPtr); - armnn::Runtime runtime(options); + armnn::RuntimeImpl runtime(options); // ensure the GUID generator is reset to zero GetProfilingService(&runtime).ResetGuidGenerator(); -- cgit v1.2.1