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 <cathal.corbett@arm.com>
Change-Id: I9c50007dcd5b5e792757e7bd1213606df5ffec36
diff --git a/src/profiling/SendCounterPacket.cpp b/src/profiling/SendCounterPacket.cpp
index b0bfeb5..38417e8 100644
--- a/src/profiling/SendCounterPacket.cpp
+++ b/src/profiling/SendCounterPacket.cpp
@@ -18,10 +18,10 @@
#include <cstring>
-namespace armnn
+namespace arm
{
-namespace profiling
+namespace pipe
{
void SendCounterPacket::SendStreamMetaDataPacket()
@@ -164,7 +164,7 @@
}
catch(...)
{
- CancelOperationAndThrow<RuntimeException>(writeBuffer, "Error processing packet.");
+ CancelOperationAndThrow<armnn::RuntimeException>(writeBuffer, "Error processing packet.");
}
m_BufferManager.Commit(writeBuffer, totalSize, false);
@@ -584,7 +584,7 @@
std::string errorMessage;
if (!CreateDeviceRecord(device, deviceRecord, errorMessage))
{
- CancelOperationAndThrow<RuntimeException>(errorMessage);
+ CancelOperationAndThrow<armnn::RuntimeException>(errorMessage);
}
// Update the total size in words of the device records
@@ -619,7 +619,7 @@
std::string errorMessage;
if (!CreateCounterSetRecord(counterSet, counterSetRecord, errorMessage))
{
- CancelOperationAndThrow<RuntimeException>(errorMessage);
+ CancelOperationAndThrow<armnn::RuntimeException>(errorMessage);
}
// Update the total size in words of the counter set records
@@ -654,7 +654,7 @@
std::string errorMessage;
if (!CreateCategoryRecord(category, counterDirectory.GetCounters(), categoryRecord, errorMessage))
{
- CancelOperationAndThrow<RuntimeException>(errorMessage);
+ CancelOperationAndThrow<armnn::RuntimeException>(errorMessage);
}
// Update the total size in words of the category records
@@ -918,6 +918,6 @@
m_BufferManager.Commit(writeBuffer, totalSize);
}
-} // namespace profiling
+} // namespace pipe
-} // namespace armnn
+} // namespace arm