diff options
author | Teresa Charlin <teresa.charlinreyes@arm.com> | 2021-11-09 09:52:26 +0000 |
---|---|---|
committer | Teresa Charlin <teresa.charlinreyes@arm.com> | 2021-11-09 09:52:26 +0000 |
commit | 1165e0e9847aded522724f719d2b06d9f9c24a5e (patch) | |
tree | fc8039c3584780b2c1d236763c2b6d962bed1976 /src/backends/backendsCommon/test | |
parent | fd0cae3153dd7844b1b14adda8571e4588ed762c (diff) | |
download | armnn-1165e0e9847aded522724f719d2b06d9f9c24a5e.tar.gz |
Fix use of non-standard "uint" type
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I476608976c52df97677a64af94767d3945dd9475
Diffstat (limited to 'src/backends/backendsCommon/test')
-rw-r--r-- | src/backends/backendsCommon/test/MemoryManagerTests.cpp | 4 |
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); |