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/armnn/test/RuntimeTests.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/armnn/test/RuntimeTests.cpp')
-rw-r--r-- | src/armnn/test/RuntimeTests.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/armnn/test/RuntimeTests.cpp b/src/armnn/test/RuntimeTests.cpp index b3a8bbd6a6..1d5960b2a4 100644 --- a/src/armnn/test/RuntimeTests.cpp +++ b/src/armnn/test/RuntimeTests.cpp @@ -27,7 +27,7 @@ namespace armnn { -void RuntimeLoadedNetworksReserve(armnn::Runtime* runtime) +void RuntimeLoadedNetworksReserve(armnn::RuntimeImpl* runtime) { runtime->m_LoadedNetworks.reserve(1); } @@ -129,7 +129,7 @@ BOOST_AUTO_TEST_CASE(RuntimeMemoryLeak) // ensure that runtime is large enough before checking for memory leaks // otherwise when loading the network it will automatically reserve memory that won't be released until destruction armnn::IRuntime::CreationOptions options; - armnn::Runtime runtime(options); + armnn::RuntimeImpl runtime(options); armnn::RuntimeLoadedNetworksReserve(&runtime); { @@ -333,7 +333,7 @@ BOOST_AUTO_TEST_CASE(ProfilingDisable) // Create runtime in which the test will run armnn::IRuntime::CreationOptions options; - armnn::Runtime runtime(options); + armnn::RuntimeImpl runtime(options); // build up the structure of the network INetworkPtr net(INetwork::Create()); @@ -378,7 +378,7 @@ BOOST_AUTO_TEST_CASE(ProfilingEnableCpuRef) options.m_ProfilingOptions.m_EnableProfiling = true; options.m_ProfilingOptions.m_TimelineEnabled = true; - armnn::Runtime runtime(options); + armnn::RuntimeImpl runtime(options); GetProfilingService(&runtime).ResetExternalProfilingOptions(options.m_ProfilingOptions, false); profiling::ProfilingServiceRuntimeHelper profilingServiceHelper(GetProfilingService(&runtime)); |