diff options
author | Kevin May <kevin.may@arm.com> | 2021-02-04 10:27:41 +0000 |
---|---|---|
committer | Kevin May <kevin.may@arm.com> | 2021-02-08 14:01:38 +0000 |
commit | d92a6e4c19567cb03de76963068c002353cea528 (patch) | |
tree | 84f0148df05a6ec4b4a550281a63de374353cfeb /src/profiling/test/FileOnlyProfilingDecoratorTests.cpp | |
parent | 92dd48a170c5fbce9f46bfcea8df97b3c3ebdccb (diff) | |
download | armnn-d92a6e4c19567cb03de76963068c002353cea528.tar.gz |
IVGCVSW-4873 Implement Pimpl Idiom for IRuntime
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I52448938735b2aa678c47e0f3061c87fa0c693b1
Diffstat (limited to 'src/profiling/test/FileOnlyProfilingDecoratorTests.cpp')
-rw-r--r-- | src/profiling/test/FileOnlyProfilingDecoratorTests.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<TestTimelinePacketHandler>(); 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<TestTimelinePacketHandler>(); 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(); |