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/ProfilingConnectionDumpToFileDecoratorTests.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/ProfilingConnectionDumpToFileDecoratorTests.cpp')
-rw-r--r-- | src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp b/src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp index fb8c97265b..f1f1d2410f 100644 --- a/src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp +++ b/src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp @@ -4,10 +4,14 @@ // #include "../ProfilingConnectionDumpToFileDecorator.hpp" -#include <armnnUtils/Filesystem.hpp> + #include <Runtime.hpp> + +#include <armnnUtils/Filesystem.hpp> + #include <armnn/utility/IgnoreUnused.hpp> -#include <armnn/utility/NumericCast.hpp> + +#include <common/include/NumericCast.hpp> #include <fstream> #include <sstream> @@ -20,7 +24,7 @@ namespace { const std::vector<char> g_Data = { 'd', 'u', 'm', 'm', 'y' }; -const uint32_t g_DataLength = armnn::numeric_cast<uint32_t>(g_Data.size()); +const uint32_t g_DataLength = arm::pipe::numeric_cast<uint32_t>(g_Data.size()); const unsigned char* g_DataPtr = reinterpret_cast<const unsigned char*>(g_Data.data()); class DummyProfilingConnection : public IProfilingConnection |