aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/ProfilingTestUtils.cpp
diff options
context:
space:
mode:
authorFinn Williams <Finn.Williams@arm.com>2020-03-24 13:46:22 +0000
committerfinn.williams <finn.williams@arm.com>2020-03-24 15:59:39 +0000
commitb6a402f46231688f7684dcb8c8e4ef5f4579b011 (patch)
treeef0a54d225b6ea473f33811245bcd4873b996a80 /src/profiling/test/ProfilingTestUtils.cpp
parentac47210621a601a2b6ded78e003d136626434f50 (diff)
downloadarmnn-b6a402f46231688f7684dcb8c8e4ef5f4579b011.tar.gz
IVGCVSW-4596 Fix BufferManager's packet order
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I35e0a891cd69f2c130b8886460089c441d8e666d
Diffstat (limited to 'src/profiling/test/ProfilingTestUtils.cpp')
-rw-r--r--src/profiling/test/ProfilingTestUtils.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/profiling/test/ProfilingTestUtils.cpp b/src/profiling/test/ProfilingTestUtils.cpp
index 325cb40111..74e140c093 100644
--- a/src/profiling/test/ProfilingTestUtils.cpp
+++ b/src/profiling/test/ProfilingTestUtils.cpp
@@ -773,17 +773,17 @@ void VerifyPostOptimisationStructureTestImpl(armnn::BackendId backendId)
// Does the inference.
runtime.EnqueueWorkload(netId, inputTensors, outputTensors);
- // Get readable buffer for inference timeline
- auto inferenceReadableBuffer = bufferManager.GetReadableBuffer();
- BOOST_CHECK(inferenceReadableBuffer != nullptr);
+ // Get readable buffer for input workload
+ auto inputReadableBuffer = bufferManager.GetReadableBuffer();
+ BOOST_CHECK(inputReadableBuffer != nullptr);
// Get readable buffer for output workload
auto outputReadableBuffer = bufferManager.GetReadableBuffer();
BOOST_CHECK(outputReadableBuffer != nullptr);
- // Get readable buffer for input workload
- auto inputReadableBuffer = bufferManager.GetReadableBuffer();
- BOOST_CHECK(inputReadableBuffer != nullptr);
+ // Get readable buffer for inference timeline
+ auto inferenceReadableBuffer = bufferManager.GetReadableBuffer();
+ BOOST_CHECK(inferenceReadableBuffer != nullptr);
// Validate input workload data
size = inputReadableBuffer->GetSize();