From 5aa9fd7ac6bf8dad576fa4a0a32aa3dae98d11ab Mon Sep 17 00:00:00 2001 From: Cathal Corbett Date: Fri, 25 Feb 2022 15:33:28 +0000 Subject: IVGCVSW-6704 Change the namespace from armnn::profiling to arm::pipe * Updated ABI version to 29 due to being the first ABI break in 22.05 !android-nn-driver:7226 Signed-off-by: Cathal Corbett Change-Id: I9c50007dcd5b5e792757e7bd1213606df5ffec36 --- .../test/ProfilingConnectionDumpToFileDecoratorTests.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp') diff --git a/src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp b/src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp index a851e940b4..3c4800a361 100644 --- a/src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp +++ b/src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp @@ -14,7 +14,7 @@ #include -using namespace armnn::profiling; +using namespace arm::pipe; namespace { @@ -32,7 +32,7 @@ public: { // populate packet data and construct packet std::memcpy(m_PacketData.get(), g_DataPtr, g_DataLength); - m_Packet = std::make_unique(0u, g_DataLength, m_PacketData); + m_Packet = std::make_unique(0u, g_DataLength, m_PacketData); } ~DummyProfilingConnection() = default; @@ -54,7 +54,7 @@ public: return true; } - arm::pipe::Packet ReadPacket(uint32_t timeout) override + Packet ReadPacket(uint32_t timeout) override { armnn::IgnoreUnused(timeout); return std::move(*m_Packet); @@ -63,7 +63,7 @@ public: private: bool m_Open; std::unique_ptr m_PacketData; - std::unique_ptr m_Packet; + std::unique_ptr m_Packet; }; std::vector ReadDumpFile(const std::string& dumpFileName) @@ -105,8 +105,8 @@ TEST_CASE("DumpIncomingValidFile") ProfilingConnectionDumpToFileDecorator decorator(std::make_unique(), options, false); // NOTE: unique_ptr is needed here because operator=() is deleted for Packet - std::unique_ptr packet; - CHECK_NOTHROW(packet = std::make_unique(decorator.ReadPacket(0))); + std::unique_ptr packet; + CHECK_NOTHROW(packet = std::make_unique(decorator.ReadPacket(0))); decorator.Close(); -- cgit v1.2.1