diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-10 22:05:42 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-10 22:43:11 +0000 |
commit | 75c14f4241b0225640ee6011a41ed0102f4e742c (patch) | |
tree | 1c19b0974e7dd58ef1b266a3022494158675dfda /src/profiling/SendThread.cpp | |
parent | dc8f9d9fa46c009eca1bd936b29c9968c9c712bd (diff) | |
download | armnn-75c14f4241b0225640ee6011a41ed0102f4e742c.tar.gz |
IVGCVSW-6841 Replace armnn::numeric_cast with arm::pipe::numeric_cast in profiling code
Change-Id: Ib3115694608dee59ced8dc31077e16fe19d0dfea
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/SendThread.cpp')
-rw-r--r-- | src/profiling/SendThread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/SendThread.cpp b/src/profiling/SendThread.cpp index e932eba3e9..c09a656cd2 100644 --- a/src/profiling/SendThread.cpp +++ b/src/profiling/SendThread.cpp @@ -7,7 +7,7 @@ #include "ProfilingUtils.hpp" #include <armnn/Conversion.hpp> -#include <armnn/utility/NumericCast.hpp> +#include <common/include/NumericCast.hpp> #include <common/include/ProfilingException.hpp> @@ -233,7 +233,7 @@ void SendThread::FlushBuffer(IProfilingConnection& profilingConnection, bool not if (profilingConnection.IsOpen()) { // Write a packet to the profiling connection. Silently ignore any write error and continue - profilingConnection.WritePacket(readBuffer, armnn::numeric_cast<uint32_t>(readBufferSize)); + profilingConnection.WritePacket(readBuffer, arm::pipe::numeric_cast<uint32_t>(readBufferSize)); // Set the flag that indicates whether at least a packet has been sent packetsSent = true; |