aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeresa Charlin <teresa.charlinreyes@arm.com>2021-11-09 09:52:26 +0000
committerDavid Monahan <David.Monahan@arm.com>2021-11-09 11:51:19 +0000
commitc366f9c4916c3624653268b205b1f846b39836cf (patch)
treefc8039c3584780b2c1d236763c2b6d962bed1976
parentfd0cae3153dd7844b1b14adda8571e4588ed762c (diff)
downloadarmnn-c366f9c4916c3624653268b205b1f846b39836cf.tar.gz
Fix use of non-standard "uint" type
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I476608976c52df97677a64af94767d3945dd9475
-rw-r--r--src/backends/backendsCommon/test/MemoryManagerTests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backends/backendsCommon/test/MemoryManagerTests.cpp b/src/backends/backendsCommon/test/MemoryManagerTests.cpp
index 662a5c2423..d70c464c33 100644
--- a/src/backends/backendsCommon/test/MemoryManagerTests.cpp
+++ b/src/backends/backendsCommon/test/MemoryManagerTests.cpp
@@ -66,7 +66,7 @@ TEST_CASE("MemoryManagerTest")
std::vector<size_t> offsets(numTensors);
std::iota(std::begin(offsets), std::end(offsets), 0);
- for (uint idx = 0; idx < tensorMemoryPointerVector.size(); ++idx)
+ for (uint32_t idx = 0; idx < tensorMemoryPointerVector.size(); ++idx)
{
tensorMemoryVector.emplace_back(std::make_shared<TensorMemory>(TensorMemory{offsets[idx], 0, nullptr}));
@@ -93,7 +93,7 @@ TEST_CASE("MemoryManagerTest")
memoryManager.Allocate();
CHECK(customAllocator->m_CounterAllocate == bufferVecSize);
- uint idx = 0;
+ uint32_t idx = 0;
for (auto tensorMemory : tensorMemoryVector)
{
auto value = reinterpret_cast<uint8_t *>(tensorMemory->m_Data);