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/test/RequestCountersPacketHandler.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/test/RequestCountersPacketHandler.cpp')
-rw-r--r-- | src/profiling/test/RequestCountersPacketHandler.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/profiling/test/RequestCountersPacketHandler.cpp b/src/profiling/test/RequestCountersPacketHandler.cpp index fb3eee8f20..b688b2d0c3 100644 --- a/src/profiling/test/RequestCountersPacketHandler.cpp +++ b/src/profiling/test/RequestCountersPacketHandler.cpp @@ -7,8 +7,7 @@ #include "DirectoryCaptureCommandHandler.hpp" -#include <armnn/utility/NumericCast.hpp> - +#include <common/include/NumericCast.hpp> #include <common/include/PacketVersionResolver.hpp> #include <common/include/ProfilingException.hpp> @@ -55,7 +54,7 @@ void RequestCountersPacketHandler::SendCounterSelectionPacket() uint32_t uint32_t_size = sizeof(uint32_t); uint32_t offset = 0; - uint32_t bodySize = uint32_t_size + armnn::numeric_cast<uint32_t>(m_IdList.size()) * uint16_t_size; + uint32_t bodySize = uint32_t_size + arm::pipe::numeric_cast<uint32_t>(m_IdList.size()) * uint16_t_size; auto uniqueData = std::make_unique<unsigned char[]>(bodySize); auto data = reinterpret_cast<unsigned char*>(uniqueData.get()); @@ -77,4 +76,4 @@ void RequestCountersPacketHandler::SendCounterSelectionPacket() } // namespace pipe -} // namespace arm
\ No newline at end of file +} // namespace arm |